aboutsummaryrefslogtreecommitdiff
path: root/man/man1/echo.1
diff options
context:
space:
mode:
Diffstat (limited to 'man/man1/echo.1')
-rw-r--r--man/man1/echo.126
1 files changed, 26 insertions, 0 deletions
diff --git a/man/man1/echo.1 b/man/man1/echo.1
new file mode 100644
index 00000000..86e6cd39
--- /dev/null
+++ b/man/man1/echo.1
@@ -0,0 +1,26 @@
+.TH ECHO 1
+.SH NAME
+echo \- print arguments
+.SH SYNOPSIS
+.B echo
+[
+.B -n
+]
+[
+.I arg ...
+]
+.SH DESCRIPTION
+.I Echo
+writes its arguments separated by blanks and terminated by
+a newline on the standard output.
+Option
+.B -n
+suppresses the newline.
+.SH SOURCE
+.B /sys/src/cmd/echo.c
+.SH DIAGNOSTICS
+If
+.I echo
+draws an error while writing to standard output, the exit status is
+.LR "write error" .
+Otherwise the exit status is empty.