about summary refs log tree commit diff
path: root/README
blob: 21140267e1f2886b7f0495053ed6aff8ea073caa (plain) (blame)
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
NECHO(1)                    General Commands Manual                   NECHO(1)

NAME
     necho, zecho, qecho, jecho, secho – minimal, sensible alternatives to
     echo(1)

SYNOPSIS
     necho [string ...]
     zecho [string ...]
     qecho [string ...]
     jecho [string ...]
     secho [string ...]

DESCRIPTION
     The necho utility writes its arguments, one per line, to standard output.

     The zecho utility writes its arguments, terminated by NUL bytes, to
     standard output.

     The qecho utility writes its arguments, surrounded by unicode quotation
     marks, to standard output.

     The jecho utility writes its arguments joined together with no separators
     to standard output.

     The 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.

OPTIONS
     Implementations do not support any options, nor special handling of a
     “--” argument.

EXIT STATUS
     These utilities exit 0 on success, and >0 if an error occurs.

SEE ALSO
     echo(1), printf(1)

STANDARDS
     secho is a POSIX-conforming, but not XSI-conforming implementation of
     echo(1).

CAVEATS
     These tools use writev(2) syscalls for efficient output.  This generally
     works fine, but there is a problem with using this function when writing
     to the Linux proc(5) filesystem: only the first buffer will be regarded
     as a write.

     Therefore,

           jecho 60 >/proc/sys/kernel/panic

     will work, but

           jecho 6 0 >/proc/sys/kernel/panic

     will just be regarded as a write of ‘6’.

AUTHORS
     Leah Neukirchen <leah@vuxu.org>

LICENSE
     These utilities are in the public domain.

     To the extent possible under law, the creator of this work has waived all
     copyright and related or neighboring rights to this work.

           http://creativecommons.org/publicdomain/zero/1.0/

Void Linux                     October 19, 2017                     Void Linux