File: echo.1

package info (click to toggle)
shellutils 1.16-6
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 3,260 kB
  • ctags: 2,149
  • sloc: ansic: 22,416; yacc: 1,034; sh: 612; makefile: 350; perl: 239; sed: 93
file content (73 lines) | stat: -rw-r--r-- 1,368 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
.TH ECHO 1 "GNU Shell Utilities" "FSF" \" -*- nroff -*-
.SH NAME
echo \- display a line of text
.SH SYNOPSIS
\fBecho\fP [\fB\-ne\fP] [\fIstring\fP ...]
.br
.B echo
{\-\-help,\-\-version}
.SH DESCRIPTION
This documentation is no longer being maintained and may be inaccurate
or incomplete.  The Texinfo documentation is now the authoritative source.
.PP
This manual page
documents the GNU version of
.BR echo .
Note that most shells have a built-in command by the same name and
with similar functionality.
.PP
.B echo
writes each given \fIstring\fP to the standard output, with a space
between them and a newline after the last one.
.SS OPTIONS
.TP
.I \-n
Do not output the trailing newline.
.TP
.I \-e
Enable interpretation of the following backslash-escaped characters in
the strings:
.RS
.PD 0
.TP
.B \ea
alert (bell)
.TP
.B \eb
backspace
.TP
.B \ec
suppress trailing newline
.TP
.B \ef
form feed
.TP
.B \en
new line
.TP
.B \er
carriage return
.TP
.B \et
horizontal tab
.TP
.B \ev
vertical tab
.TP
.B \e\e
backslash
.TP
.B \ennn
the character whose ASCII code is \fInnn\fP (octal)
.PD
.RE
.SS OPTIONS
When GNU
.B echo
is invoked with exactly one argument, the following options are recognized:
.TP
.I "\-\-help"
Print a usage message on standard output and exit successfully.
.TP
.I "\-\-version"
Print version information on standard output then exit successfully.