about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2017-10-19 15:33:39 +0200
committerLeah Neukirchen <leah@vuxu.org>2017-10-19 15:33:39 +0200
commit4963ea4cc3de0d5fc15d36245c6a8d1f693b6a7b (patch)
treea37429baa206846e168cb76166d6df141e429dc1
parentc1aa983f7f1abe038cfa1a932b780376fa8de5cf (diff)
downloadnecho-4963ea4cc3de0d5fc15d36245c6a8d1f693b6a7b.tar.gz
necho-4963ea4cc3de0d5fc15d36245c6a8d1f693b6a7b.tar.xz
necho-4963ea4cc3de0d5fc15d36245c6a8d1f693b6a7b.zip
add necho.1
-rw-r--r--necho.168
1 files changed, 68 insertions, 0 deletions
diff --git a/necho.1 b/necho.1
new file mode 100644
index 0000000..567e436
--- /dev/null
+++ b/necho.1
@@ -0,0 +1,68 @@
+.Dd October 19, 2017
+.Dt NECHO 1
+.Os
+.Sh NAME
+.Nm necho ,
+.Nm zecho ,
+.Nm qecho ,
+.Nm jecho ,
+.Nm secho
+.Nd minimal, sensible alternatives to echo(1)
+.Sh SYNOPSIS
+.Nm necho
+.Op Ar string\ ...
+.Nm zecho
+.Op Ar string\ ...
+.Nm qecho
+.Op Ar string\ ...
+.Nm jecho
+.Op Ar string\ ...
+.Nm secho
+.Op Ar string\ ...
+.Sh DESCRIPTION
+The
+.Nm necho
+utility writes its arguments, one per line, to standard output.
+.Pp
+The
+.Nm zecho
+utility writes its arguments, terminated by NUL bytes, to standard output.
+.Pp
+The
+.Nm qecho
+utility writes its arguments, surrounded by unicode quotation marks, to standard output.
+.Pp
+The
+.Nm jecho
+utility writes its arguments joined together to standard output.
+.Pp
+The
+.Nm secho
+utility writes its arguments, separated by spaces, to standard output,
+followed by a <newline>.
+If there are no arguments, only the <newline> is written.
+.Sh OPTIONS
+Implementations do not support any options,
+nor special handling of a
+.Dq Li \&-\&-
+argument.
+.Sh EXIT STATUS
+These utilities exit 0 on success, and >0 if an error occurs.
+.Sh SEE ALSO
+.Xr echo 1 ,
+.Xr printf 1
+.Sh STANDARDS
+.Nm secho
+is a POSIX-conforming, but not XSI-conforming implementation of
+.Xr echo 1 .
+.Sh AUTHORS
+.An Leah Neukirchen Aq Mt leah@vuxu.org
+.Sh LICENSE
+These utilities are in the public domain.
+.Pp
+To the extent possible under law,
+the creator of this work
+has waived all copyright and related or
+neighboring rights to this work.
+.Pp
+.Lk http://creativecommons.org/publicdomain/zero/1.0/