www.delorie.com/gnu/docs/textutils/coreutils_89.html   search  
 
Buy GNU books!


GNU Core-utils

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

15.1 echo: Print a line of text

echo writes each given string to standard output, with a space between each and a newline after the last one. Synopsis:

 
echo [option]... [string]...

The program accepts the following options. Also see 2. Common options.

`-n'
Do not output the trailing newline.

`-e'
Enable interpretation of the following backslash-escaped characters in each string:

`\a'
alert (bell)
`\b'
backspace
`\c'
suppress trailing newline
`\f'
form feed
`\n'
new line
`\r'
carriage return
`\t'
horizontal tab
`\v'
vertical tab
`\\'
backslash
`\nnn'
the character whose ASCII code is nnn (octal); if nnn is not a valid octal number, it is printed literally.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003