1/// Concatenate FILE(s) to standard output.
2cmd Main("cat") {
3 /// With no FILE, or when FILE is -, read standard input.
4 arg FileToDisplay(..) => List<Path> [
5 requires FileExists
6 ]
7
8 /// equivalent to -vET
9 opt ShowAll("A", "show-all") => Bool
10
11 /// number nonempty output lines, overrides -n
12 opt NumberNonBlank("b", "number-nonblank") => Bool
13
14 /// equivalent to -vE
15 opt NonPrintingEnds("e") => Bool
16
17 /// display $ at end of each line
18 opt ShowEnds("E", "show-ends") => Bool
19
20 /// number all output lines
21 opt Number("n", "number") => Bool
22
23 /// suppress repeated empty output lines
24 opt SqueezeBlank("s", "squeeze-blank") => Bool
25
26 /// equivalent to -vT
27 opt NonPrintingAndTabs("t") => Bool
28
29 /// display TAB characters as ^I
30 opt ShowTabs("T", "show-tabs") => Bool
31
32 /// (ignored)
33 opt Ignored("u") => Bool
34
35 /// use ^ and M- notation, except for LFD and TAB
36 opt ShowNonPrinting("v", "show-nonprinting") => Bool
37
38 /// display this help and exit
39 opt Help("help") => Bool [
40 excludes All
41 ]
42
43 /// output version information and exit
44 opt Version("version") => Bool [
45 excludes All
46 ]
47}