summaryrefslogtreecommitdiffstats
path: root/upstream/mageia-cauldron/man1/echo.1
blob: fe2dc60bee375cd3cf4a48b39b93354905548685 (plain)
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.48.5.
.TH ECHO "1" "August 2023" "GNU coreutils 9.4" "User Commands"
.SH NAME
echo \- display a line of text
.SH SYNOPSIS
.B echo
[\fI\,SHORT-OPTION\/\fR]... [\fI\,STRING\/\fR]...
.br
.B echo
\fI\,LONG-OPTION\/\fR
.SH DESCRIPTION
.\" Add any additional description here
.PP
Echo the STRING(s) to standard output.
.TP
\fB\-n\fR
do not output the trailing newline
.TP
\fB\-e\fR
enable interpretation of backslash escapes
.TP
\fB\-E\fR
disable interpretation of backslash escapes (default)
.TP
\fB\-\-help\fR
display this help and exit
.TP
\fB\-\-version\fR
output version information and exit
.PP
If \fB\-e\fR is in effect, the following sequences are recognized:
.TP
\e\e
backslash
.TP
\ea
alert (BEL)
.TP
\eb
backspace
.TP
\ec
produce no further output
.TP
\ee
escape
.TP
\ef
form feed
.TP
\en
new line
.TP
\er
carriage return
.TP
\et
horizontal tab
.TP
\ev
vertical tab
.TP
\e0NNN
byte with octal value NNN (1 to 3 digits)
.TP
\exHH
byte with hexadecimal value HH (1 to 2 digits)
.PP
NOTE: your shell may have its own version of echo, which usually supersedes
the version described here.  Please refer to your shell's documentation
for details about the options it supports.
.PP
NOTE: \fBprintf\fP(1) is a preferred alternative,
which does not have issues outputting option\-like strings.
.SH AUTHOR
Written by Brian Fox and Chet Ramey.
.SH "REPORTING BUGS"
GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
.br
Report any translation bugs to <https://translationproject.org/team/>
.SH COPYRIGHT
Copyright \(co 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
.br
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.SH "SEE ALSO"
\fBprintf\fP(1)
.PP
.br
Full documentation <https://www.gnu.org/software/coreutils/echo>
.br
or available locally via: info \(aq(coreutils) echo invocation\(aq