-
Notifications
You must be signed in to change notification settings - Fork 1
/
help.v
45 lines (33 loc) · 1.45 KB
/
help.v
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
module main
const help_text = "NAME neko — concatenate and print files
SYNOPSIS neko [-benstuv] [file ...]
DESCRIPTION
The neko utility reads files sequentially, writing them to the
standard output. The file operands are processed in command-line
order. If file is a single dash (‘-’) or absent, neko reads from
the standard input.
The options are as follows:
-b
Number the lines, but don't count blank lines.
-e
Print a dollar sign (‘$’) at the end of each line. Implies the -v
option to display non-printing characters.
-n
Number the output lines, starting at 1.
-s
Squeeze multiple adjacent empty lines, causing the output to be
single spaced.
-t
Print tab characters as ‘^I’. Implies the -v option to display
non-printing characters.
-u UNIMPLEMENTED
The output is guaranteed to be unbuffered (see setvbuf(3)).
-v UNIMPLEMENTED
Displays non-printing characters so they are visible. Control
characters print as ‘^X’ for control-X, with the exception of the
tab and EOL characters, which are displayed normally. The DEL
character (octal 0177) prints as ‘^?’. Non-ASCII characters (with
the high bit set) are printed as ‘M-’ (for meta) followed by the
character for the low 7 bits.
See Also: https://github.com/flinner/neko
"