55 lines
970 B
Groff
Executable file
55 lines
970 B
Groff
Executable file
.TH ECHO 1
|
|
.SH NAME
|
|
echo \- print text to stdout
|
|
.SH SYNOPSIS
|
|
.B echo
|
|
.IR string
|
|
.SH DESCRIPTION
|
|
.B echo
|
|
writes any arguments it receives to standard output, followed by a
|
|
single <newline>. If it receives no arguments, it only outputs a
|
|
single <newline>.
|
|
|
|
In strings contained in quotes, \fBecho\fR recognises the following
|
|
character sequences:
|
|
.TP
|
|
.B \ea
|
|
Beeps the PC speaker (writes an <alert>).
|
|
.TP
|
|
.B \eb
|
|
Writes a <backspace>.
|
|
.TP
|
|
.B \ec
|
|
Makes \fBecho\fR not print a newline following the output.
|
|
.TP
|
|
.B \ef
|
|
Writes a <formfeed>.
|
|
.TP
|
|
.B \en
|
|
Writes a <newline>.
|
|
.TP
|
|
.B \er
|
|
Writes a <carriage return>.
|
|
.TP
|
|
.B \et
|
|
Writes a <tab>.
|
|
.TP
|
|
.B \ev
|
|
Writes a <vertical tab>.
|
|
.TP
|
|
.B \e\e
|
|
Writes a <backslash> (\e).
|
|
.TP
|
|
.B \e0\fInum\fR
|
|
Writes the character corresponding to the 8-bit octal number
|
|
\fInum\fR
|
|
.SH OPTIONS
|
|
None
|
|
.SH AUTHOR
|
|
Written by Kat.
|
|
.SH COPYRIGHT
|
|
Copyright (C) 2019 Katlynn Richey
|
|
.PP
|
|
This software is free software. Feel free to modify it and/or pass
|
|
it around.
|