Factbites
 Where results make sense
About us   |   Why use us?   |   Reviews   |   PR   |   Contact us  

Topic: Indent (unix)


Related Topics

In the News (Sun 15 Nov 09)

  
  INDENT
Indent braces of a struct, union or enum N spaces.
This will indent the program `test/metabolism.c´ using the `-br´ and `-l85´ options, write the output back to `test/metabolism.c´, and write the original contents of `test/metabolism.c´ to a backup file in the directory `test´.
indent attempts to distinguish between comments which follow statements, comments which follow declarations, comments following preprocessor directives, and comments which are not preceded by code of any sort, i.e., they begin the text of the line (although not neccessarily in column 1).
www.devdaily.com /unix/man/man1/indent.1.shtml   (4540 words)

  
 Indent (Unix) - Wikipedia, the free encyclopedia
indent is a Unix utility that reformats C and C++ code in a user-defined coding style.
GNU indent is the GNU project 's version of indent.
A different indent style, the GNU style, is used by default.
en.wikipedia.org /wiki/Indent_(unix)   (122 words)

  
 Open Source Software Collection for Tru64 UNIX - indent
GNU indent changes the appearance of a C program by inserting or deleting whitespace according to a plethora of options.
GNU indent is a descendant of BSD indent.
This file is part of the GNU indent distribution.
h30097.www3.hp.com /demos/ossc/html/indent.htm   (98 words)

  
 Indent style - free-definition   (Site not responding. Last check: 2007-11-03)
Indent style describes how different programmers use braces to denote blocks of code, most commonly in the C programming language, as well as other programming languages that allow indenting.
Unix peripherals would generally have tabs equivalent to eight characters, while Macintosh environments would set them to four, creating confusion when code was transferred back and forth.
The advantages of this style are that the indented code is clearly set apart from the containing statement by lines that are almost completely whitespace ; the braces line up with the statement they conceptually belong to; and the ending brace lines up with the beginning brace.
www.free-definition.com /1TBS.html   (811 words)

  
 Indent - A GNU program for formatting C code
Indent is a GNU program for beautifying C code, so that it is easier to read.
Indent can also convert from one C writing style to a different one.
Install the indent package if you are developing applications in C and you'd like to format your code automatically.
linux.maruhn.com /sec/indent.html   (734 words)

  
 Indent   (Site not responding. Last check: 2007-11-03)
Indent is a tool for formatting C code.
NOTE: Indent is designed to support the C language.
GNU Indent can also be downloaded from The GNU Website or from any of the many mirror of that site.
mysite.wanadoo-members.co.uk /indent/beautify.html   (268 words)

  
 UNIX man pages : indent ()   (Site not responding. Last check: 2007-11-03)
The indent pro- gram makes a backup copy of each file, and the original file is replaced with its indented version.
If you are not using the -di1 option to place variables being declared immediately after their type, you need to use the -T option to tell indent the name of all the typenames in your program that are defined by typedef.
When a statement is continued from a previous line, it is indented by a number of additional spaces specified by the -ci option.
www.cs.csubak.edu /cgi-bin/man-cgi?indent   (3276 words)

  
 Unix Man   (Site not responding. Last check: 2007-11-03)
If the indent command is run and a profile file exists, the profile file is read to set up the defaults of the program.
Comment Handling The indent command assumes that any comment with a - (dash) or * (asterisk) immediately after the start of a comment marker (/*- or /**) is a comment surrounded by asterisks.
Conditional compilation (code between #ifdef and #endif lines) is recognized and the indent command attempts to compensate correctly for the syntactic peculiarities introduced.
web.uvic.ca /helpdesk/cgi-bin/cgi?Script=script/unixman.csh&command=indent   (1833 words)

  
 UNIX man pages : indent ()
Continuation lines will be indented that far from the beginning of the first line of the statement.
The indent utility assumes that any comment with a dash or star immediately after the start of comment (that is, `/*-' or `/**') is a comment surrounded by a box of stars.
A common mistake that often causes grief is typing: indent *.c to the shell in an attempt to indent all the C programs in a directory.
home.visi.com /cgi-bin/unix_man?indent   (1510 words)

  
 UNIX man pages : indent ()
As of version 1.3, the format of the indent command is: indent [ options ] [ input-files ] indent [ options ] [ single-input-file ] [-o output-file ] This format is different from earlier versions and other versions of indent.
Here is another example: indent -br test/metabolism.c -l85 This will indent the program `test/metabolism.c' using the `-br' and `-l85' options, write the output back to `test/metabolism.c', and write the original contents of `test/metabolism.c' to a backup file in the directory `test'.
indent attempts to distinguish between comments which follow state- ments, comments which follow declarations, comments following prepro- cessor directives, and comments which are not preceded by code of any sort, i.e., they begin the text of the line (although not neccessarily in column 1).
www.fh.huji.ac.il /cgi-local/man-cgi?indent   (5003 words)

  
 UNIX man pages : groff_mm ()   (Site not responding. Last check: 2007-11-03)
Indent is specified in 'ens', but scaling is allowed.
Text-indent sets the indent to the text, and mark-indent the distance from the current indent to the mark.
Post-heading indent Indentation of the text after the heading is controlled by num- ber register Hi, default value 0.
unixhelp.ed.ac.uk /CGI/man-cgi?groff_mm   (7293 words)

  
 [No title]
When a snapified AMS client is run on a unix machine, the messageserver may run on the same machine, or it may run on a different machine.
Because the client is seperate from the server, a daemon, known as Guardian, is used to connect the client with the server.
Both types of clients are built from the same sources, but the snapified clients can only be built if the snap environment is defined in the andrew environment include file \typewriter{andyenv.h}.
www.cs.cmu.edu /People/AUIS/ftp/andrew-8.0/ams/doc/NonUnix.ovr   (794 words)

  
 UNIX man pages : indent ()   (Site not responding. Last check: 2007-11-03)
This behaviour is different from that of other ver- sions of indent, which load both files if The format of.indent.pro is simply a list of options, just as they would appear on the command line, separated by white space (tabs, spaces, and newlines).
indent handles comments differently depending upon indent attempts to distinguish amongst comments statements, com- ments which follow declarations, comments following prepro- cessor directives, and comments which are not preceded by code of any sort, i.e., they begin the text of the line (although not neccessarily in column 1).
indent attempts to leave boxed comments general idea of such a comment is that it is enclosed in a rectangle or ''box'' of stars or dashes to visually set it apart.
www.cs.umbc.edu /cgi-bin/man-cgi?indent   (4635 words)

  
 [Chapter 41] 41.4 How UNIX Handles TAB Characters   (Site not responding. Last check: 2007-11-03)
TAB characters are used in a lot of places: tables, indented paragraphs, source code for programs, the output of many programs, and so on.
UNIX handles TABs in a flexible way that's different from some other computer systems.
Most UNIX programs, printers, and terminals are set up to assume tabstops every 8 columns.
ninja.kinsuth-mar.com /unix/upt/ch41_04.htm   (611 words)

  
 [No title]
When running Unix Kermit in remote mode, if you have started a protocol operation (sending or receiving a file, server command wait, etc), you will not be able to communicate with the terminal in the normal way.
When Unix Kermit enters local mode, it attempts to synchronize with other programs (like uucp) that use external communication lines so as to prevent two programs using the same line at once; before attempting to lock the specified line, it will close and unlock any external line that was previously in use.
Many Unix systems are set up in such a way that you must give this command after a 'set line' command before you can use the line.
www.mit.edu:8001 /afs/athena.mit.edu/system/modem/doc/ckuker.mss   (11518 words)

  
 Learning Unix and Choosing a Text Editor
Unix is an operating system written by programmers for programmers, so there are many tools available to help you write programs.
Emacs should be available on (almost) all Unix machines; hence if you use VirtualU's vuser machine you can use emacs, or if you happen to be running Linux on your home PC, you can use emacs there, also.
The indent Unix command will indent your program so that the open and closing braces line up, etc. Use this before you hand your program in and it will help your program's style points.
tardis.union.edu /~hannayd/esc014/unix-te.htm   (956 words)

  
 Indent - Wikipedia, the free encyclopedia
In computing, indent is a computer program that formats C programming language files with a particular indent style.
Text can be indented, meaning it is shifted horizontally from the margin to set it apart from surrounding text.
Indentation may also refer to the dividing of a document in a zigzag line.
en.wikipedia.org /wiki/Indent   (119 words)

  
 UNIX man pages : indent ()   (Site not responding. Last check: 2007-11-03)
As of version 1.3, the format of the indent command is: indent [options] [input-files] indent [options] [single-input-file] [-o output-file] This format is different from earlier versions and other versions of indent.
With the option `-ln', or `--line-lengthn', it is possible to specify the maximum length of a line of C code, not including possible comments that follow it.
More precisely, indent does not attempt to verify the closing delimiter (*/) for these C comments, and any whitespace on the line is totally transparent.
unixhelp.ed.ac.uk /CGI/man-cgi?indent   (4972 words)

  
 Bristol Technology - HyperHelp -   (Site not responding. Last check: 2007-11-03)
HyperHelp maps TrueType fonts to standard UNIX fonts, but if you are designing cross-platform help files that utilize any TrueType fonts that do not relate to the standard UNIX fonts, then your HyperHelp help file will not look like you expect.
On the UNIX side of things, HyperHelp is a Motif application and carries with it many powerful customization capabilities that cannot be changed by WinHelp.
Some features are not available by the UNIX operating systems, while others are simply not "practiced" as a style or methodology.
www.bristol.com /hyperhelp/tips.htm   (2077 words)

  
 A vi Reference
These commands are used for file operations (changing files, saving changes, and quitting), executing UNIX commands, and searching for text.
Many UNIX compilers report errors by giving a short message about the error and telling you the line number where it occurred.
These commands may be preceded by an integer to indent or outdent multiple lines.
www.d.umn.edu /~gshute/vi/vi.html   (2175 words)

  
 [No title]
User may opt not to save the newly indented buffer." (interactive "bbuffer to indent ") (switch-to-buffer buffer) (let ((auto-save-file-name (make-auto-save-file-name)) (opoint (point)) ;; /bin/csh doesn't work for the following line due to '#' being a ;; comment-start char.
'indent /tmp/foo.c /tmp/#foo.c#' ;; best just to use the /bin/sh as the shell.
(shell-file-name "/bin/sh")) ; shell-command uses shell-file-name (save-buffer) (shell-command (concat "indent " cindent-flags " " buffer-file-name " " auto-save-file-name) nil) (if (file-exists-p auto-save-file-name) (progn (erase-buffer) (insert-file auto-save-file-name) (goto-char (min opoint (point-max)))) (error "indent failed to produce the output file")))) (defun unifdef (buffer args) "Remove ifdefs in the specified BUFFER using the Unix unifdef(1) program.
www.wsrcc.com /wolfgang/ftp/unix.el   (788 words)

  
 search.cpan.org: Unix::ConfigFile - Perl interface to various Unix configuration files
If a line exceeds the length parameter, output is wrapped to the next line and the INDENT parameter is used to prefix the line.
In addition, the TAIL parameter will be added to the end of every line generated except the final one.
One final feature is that if the HEAD or INDENT parameters contain the text '%n', it will be replaced with the current line number, beginning at 0.
search.cpan.org /~ssnodgra/Unix-ConfigFile/ConfigFile.pm   (796 words)

  
 [No title]
It is a bit Emacs-like: you can evaluate lisp expressions from within the editor, and the result is pasted into the editor buffer.
- The editor is often unresponsive, because of - normal Unix swapping, - Emacs' conservative GC (incremental and generational GCs don't cause noticeable interruptions), - automatic backup.
One feature of the lisp-mode is that the tab key indents the current line, which makes typing Lisp programs easier because you don't have to type the whitespace.
www.cise.ufl.edu /help/software/doc/clisp/editors.txt   (1585 words)

  
 Linux and UNIX lpr command help
Indents the output a specific number of SPACE characters.
Use indent to indicate the number of SPACE characters to be indented.
Mounts the specified font in the font position 1, 2, 3, or 4.
www.xmission.com /~comphope/unix/ulpr.htm   (452 words)

  
 indent++ - beautifier of C/C++ source code - the GNU indent
These are first attempts to providing a framework for rewriting indent.
BSD Indent - Pulled out of the academics archives and into an "open source" project.
Appears to be some of the original code in GNU indent.
www.uvm.edu /~ashawley/c/indent   (703 words)

  
 [vim] cant turn off indent
The brute-force method of avoiding automatic indenting is to go into your Vim directory and find the Indent directory.
File the file that corresponds to the file you're working on (in this case, html.vim) and delete or rename it.
The downside is, of course, that you can't change your mind without undoing what you just did.
www.webservertalk.com /message965491.html   (453 words)

  
 UNIX man pages : mansun (5)   (Site not responding. Last check: 2007-11-03)
A prevailing indent distance is remembered between succes- sive indented paragraphs, and is reset to default value upon reaching a non-indented paragraph.
Type font and size are reset to default values before each paragraph, and after processing font and size setting mac- ros.
Begin indented paragraph, with the tag given on the next text line.
www.pmel.noaa.gov /epic-bin/man-cgi?mansun+5   (735 words)

  
 Indent - free-definition   (Site not responding. Last check: 2007-11-03)
In computing, indent is a computer program that formats given C programming language files with a particular indent style.
Text can be indented, meaning it is shifted horizontally a set distance from the margin to set it apart from surrounding text.
It may also refer to the dividing of a document in a zigzag line.
www.free-definition.com /Indent.html   (125 words)

  
 The UNIX Forums - · simerian · UNIX Process List Tree   (Site not responding. Last check: 2007-11-03)
As the more adept amongst you will see, the script accepts the standards (HP-UX) command line options, and, conditional on the PID and PPID being requested then a genealogical tree of the processes will be produced.
Some UNIX implementations have this as standard, but many do not and it is useful when monitoring and debugging troublesome process hierarchies.
What is unix and is linux a unix system
www.inss.com /showthread.php?t=11764   (330 words)

  
 MoreRead.com - Packaging software with RPM, Part 1 - 2005-03-01   (Site not responding. Last check: 2007-11-03)
Summary: GNU indent Name: indent Version: 2.2.6 Release: 1 Source0: %{name}-%{version}.tar.gz License: GPL Group: Development/Tools Þscription The GNU indent program reformats C code to any of a variety of formatting standards, or you can define your own.
It might not matter for indent, but any program that needs to locate its installed files at runtime would fail, because when your RPM is finally installed on a user's system, the files aren't under the build root anymore -- that's just a temporary directory on your build system.
Summary: GNU indent Name: indent Version: 2.2.6 Release: 2 Source0: %{name}-%{version}.tar.gz License: GPL Group: Development/Tools BuildRoot: %{_builddir}/%{name}-root Þscription The GNU indent program reformats C code to any of a variety of formatting standards, or you can define your own.
www.moreread.com /it/archives/2005/03/01/9549.shtml   (2027 words)

  
 [No title]   (Site not responding. Last check: 2007-11-03)
This is not true of a UNIX system unless the sysadmin has done some remarkably stupid things to it.
One simple way of spotting suspicious binaries in a case like this is to run the unix "strings" command on the file.
On UNIX systems, it is quite easy for a program to, e.g., mail a copy of /etc/passwd to the person who wrote the program, who can then try to find passwords that encrypt to the values for the root password and a non-privileged user's password.
fits.cv.nrao.edu /traffic/sciastrofits/saf.92/saf.9203   (8127 words)

Try your search on: Qwika (all wikis)

Factbites
  About us   |   Why use us?   |   Reviews   |   Press   |   Contact us  
Copyright © 2005-2007 www.factbites.com Usage implies agreement with terms.