next contents previous
Next: ed (1) Up: contents Previous: du (1M)





ECHO(1)                   USER COMMANDS                   ECHO(1)


NAME
     echo -- echo arguments


SYNOPSIS
     echo [arg] ...


DESCRIPTION
     echo  writes its arguments on the standard output, separated
     by blanks and terminated by a newline.  It also  understands
     C-like  escape  conventions.   Beware  of conflicts with the
     shell's use of backslash (\).

     Options:

     \b   backspace

     \c   print a line without newline

     \f   form feed

     \n   newline

     \r   return

     \t   tab

     \v   vertical tab

     \\   backslash

     \0n  the 8-bit character whose ASCII code is the 1-,  2-  or
          3-digit octal number n that must start with a zero.

     echo  is  useful  for producing diagnostics in command files
     and for sending known data into a pipe.


SEE ALSO
     sh(1)


CAVEATS
     When representing an 8-bit character  by  using  the  escape
     convention  \0n,  the n must always be preceded by the digit
     zero (0).

     For example, the following prints the  phrase  WARNING:  and
     sounds the bell on the terminal.

          echo WARNING:\07

     Single  (or double) quotes (or two backslashes) are required



SUPER-UX            Last change: May  10, 1996                  1





ECHO(1)                   USER COMMANDS                   ECHO(1)


     to protect the backslash (\) that precedes the 07.

     For the octal equivalents of each character, see ascii(5).






















































SUPER-UX            Last change: May  10, 1996                  2




next contents previous
Next: ed (1) Up: contents Previous: du (1M)

G1AA02E User's Reference Manual