Conventions

 < Day Day Up > 

This book follows certain typographic conventions, outlined below:


Constant width

is used for directory names, filenames, commands, program names, functions, and options. All terms shown in constant width are typed literally. It is also used to show the contents of files or the output from commands.


Constant width italic

is used in syntax and command summaries to show generic text; these should be replaced with user-supplied values.


Constant width bold

is used in examples to show text that should be typed literally by the user.


Italic

is used to show generic arguments and options; these should be replaced with user-supplied values. Italic is also used to indicate URLs, macro package names, library names, comments in examples, and the first mention of terms.


%, $, #

are used in some examples as the C shell prompt (%) and as the Bash, Bourne or Korn shell prompts ($). # is the prompt for the root user.


?, >

are used in some examples as the C shell secondary prompt (?) and as the Bash, Bourne or Korn shell secondary prompts (>).


,

are used in some examples to represent the space and tab characters respectively. This is particularly necessary for the examples in the chapters on text editing.


program (N )

indicates the "manpage" for program in section N of the online manual. For example, echo (1) means the entry for the echo command.


[ ]

surround optional elements in a description of syntax. (The brackets themselves should never be typed.) Note that many commands show the argument [ files ]. If a filename is omitted, standard input (usually the keyboard) is assumed. End keyboard input with an end-of-file character.


EOF

indicates the end-of-file character (normally CTRL-D).


^ x, CTRL- x

indicates a "control character," typed by holding down the Control key and the x key for any key x.


|

is used in syntax descriptions to separate items for which only one alternative may be chosen at a time.

A final word about syntax. In many cases, the space between an option and its argument can be omitted. In other cases, the spacing (or lack of spacing) must be followed strictly. For example, -wn (no intervening space) might be interpreted differently from -w n. It's important to notice the spacing used in option syntax.

This icon signifies a tip, suggestion, or general note.


This icon indicates a warning or caution.


     < Day Day Up > 


    Unix in a Nutshell
    Unix in a Nutshell, Fourth Edition
    ISBN: 0596100299
    EAN: 2147483647
    Year: 2005
    Pages: 201

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net