From Karl Berry.
",
program_name);
printf ("\
+Concatenate FILE(s), or standard input, to standard output.\n\
\n\
-b, --number-nonblank number nonblank output lines\n\
-e equivalent to -vE\n\
",
program_name);
printf ("\
+Print CRC checksum and byte counts of each FILE.\n\
\n\
--help display this help and exit\n\
--version output version information and exit\n\
",
program_name);
printf ("\
+Compare sorted files LEFT_FILE and RIGHT_FILE line by line.\n\
\n\
-1 suppress lines unique to left file\n\
-2 suppress lines unique to right file\n\
",
program_name);
printf ("\
+Output pieces of FILE separated by PATTERN(s) to files `xx01', `xx02', ...,\n\
+and output byte counts of each piece to standard output.\n\
\n\
-b, --suffix-format=FORMAT use sprintf FORMAT instead of %%d\n\
-f, --prefix=PREFIX use PREFIX instead of `xx'\n\
",
program_name);
printf ("\
+Print selected parts of lines from each FILE to standard output.\n\
\n\
-b, --bytes=LIST output only these bytes\n\
-c, --characters=LIST output only these characters\n\
",
program_name);
printf ("\
+Convert tabs in each FILE to spaces, writing to standard output.\n\
+With no FILE, or when FILE is -, read standard input.\n\
\n\
-i, --initial do not convert TABs after non whitespace\n\
-t, --tabs=NUMBER have tabs NUMBER characters apart, not 8\n\
--help display this help and exit\n\
--version output version information and exit\n\
\n\
-Instead of -t NUMBER or -t LIST, -NUMBER or -LIST may be used. With\n\
-no FILE, or when FILE is -, read standard input.\n\
+Instead of -t NUMBER or -t LIST, -NUMBER or -LIST may be used.\n\
");
}
exit (status);
{
printf ("Usage: %s [-DIGITS] [OPTION]... [FILE]...\n", program_name);
fputs ("\
-Mandatory arguments to long options are mandatory for short options too.\n\
+Reformat each paragraph in the FILE(s), writing to standard output.\n\
+If no FILE or if FILE is `-', standard input is read.\n\
\n\
+Mandatory arguments to long options are mandatory for short options too.\n\
-c, --crown-margin preserve indentation of first two lines\n\
-s, --split-only split long lines, but do not refill\n\
-t, --tagged-paragraph indentation of first line different from second\n\
--help display this help and exit\n\
--version output version information and exit\n\
\n\
-In -wNUMBER, the letter `w' may be omitted. Input FILEs are concatenated.\n\
-If no FILE or if FILE is `-', standard input is read.\n",
+In -wNUMBER, the letter `w' may be omitted.\n",
stdout);
}
exit (status);
",
program_name);
printf ("\
+Wrap input lines in each FILE (standard input by default), writing to\n\
+standard output.\n\
\n\
-b, --bytes count bytes rather than columns\n\
-s, --spaces break at word boundaries\n\
",
program_name);
printf ("\
+Print first 10 lines of each FILE to standard output.\n\
+With more than one FILE, precede each with a header giving the file name.\n\
+With no FILE, or when FILE is -, read standard input.\n\
\n\
-c, --bytes=SIZE print first SIZE bytes\n\
-n, --lines=NUMBER print first NUMBER lines instead of first 10\n\
\n\
SIZE may have a multiplier suffix: b for 512, k for 1K, m for 1 Meg.\n\
If -VALUE is used as first OPTION, read -c VALUE when one of\n\
-multipliers bkm follows concatenated, else read -n VALUE. With no\n\
-FILE, or when FILE is -, read standard input.\n\
+multipliers bkm follows concatenated, else read -n VALUE.\n\
");
}
exit (status);
",
program_name);
printf ("\
+For each pair of input lines with identical join fields, write a line to\n\
+standard output. The default join field is the first, delimited\n\
+by whitespace. When FILE1 or FILE2 (not both) is -, read standard input.\n\
\n\
-a SIDE print unpairable lines coming from file SIDE\n\
-e EMPTY replace missing input fields with EMPTY\n\
--help display this help and exit\n\
--version output version information and exit\n\
\n\
-When FILE1 or FILE2 is -, not both, read standard input. SIDE is 1\n\
-for FILE1 or 2 for FILE2. Unless -t CHAR is given, leading blanks\n\
+SIDE is 1 for FILE1 or 2 for FILE2. Unless -t CHAR is given, leading blanks\n\
separate fields and are ignored, else fields are separated by CHAR.\n\
Any FIELD is a field number counted from 1. FORMAT is one or more\n\
comma or blank separated specifications, each being `SIDE.FIELD'.\n\
",
program_name);
printf ("\
+Write each FILE to standard output, with line numbers added.\n\
+With no FILE, or when FILE is -, read standard input.\n\
\n\
-b, --body-numbering=STYLE use STYLE for numbering body lines\n\
-d, --section-delimiter=CC use CC for separating logical pages\n\
rn right justified, no leading zeros\n\
rz right justified, leading zeros\n\
\n\
-With no FILE, or when FILE is -, read standard input.\n\
");
}
exit (status);
",
program_name, program_name);
printf ("\
+Write an unambiguous representation, octal bytes by default, of FILE\n\
+to standard output. With no FILE, or when FILE is -, read standard input.\n\
\n\
-A, --address-radix=RADIX decide how file offsets are printed\n\
-N, --read-bytes=BYTES limit dump to BYTES input bytes per file\n\
-t, --format=TYPE select output format or formats\n\
-v, --output-duplicates do not use * to mark line suppression\n\
-w, --width[=BYTES] output BYTES bytes per output line\n\
- --help display this help and exit\n\
--traditional accept arguments in pre-POSIX form\n\
+ --help display this help and exit\n\
--version output version information and exit\n\
\n\
Pre-POSIX format specifications may be intermixed, they accumulate:\n\
BYTES is hexadecimal with 0x or 0X prefix, it is multiplied by 512\n\
with b suffix, by 1024 with k and by 1048576 with m. -s without a\n\
number implies 3. -w without a number implies 32. By default, od\n\
-uses -A o -t d2 -w 16. With no FILE, or when FILE is -, read standard\n\
-input.\n\
+uses -A o -t d2 -w 16.\n\
");
}
exit (status);
",
program_name);
printf ("\
+Write lines consisting of the sequentially corresponding lines from\n\
+each FILE, separated by TABs, to standard output.\n\
+With no FILE, or when FILE is -, read standard input.\n\
\n\
-d, --delimiters=LIST reuse characters from LIST instead of TABs\n\
-s, --serial paste one file at a time instead of in parallel\n\
--help display this help and exit\n\
--version output version information and exit\n\
\n\
-With no INPUT, or when INPUT is -, read standard input.\n\
");
}
exit (status);
",
program_name);
printf ("\
+Paginate or columnate FILE(s) for printing.\n\
\n\
+PAGE begin printing with page PAGE\n\
-COLUMN produce COLUMN-column output and print columns down\n\
",
program_name);
printf ("\
+Write sorted concatenation of all FILE(s) to standard output.\n\
\n\
+POS1 [-POS2] start a key at POS1, end it before POS2\n\
-M compare (unknown) < `JAN' < ... < `DEC', imply -b\n\
",
program_name);
printf ("\
+Output fixed-size pieces of INPUT to PREFIXaa, PREFIXab, ...; default\n\
+PREFIX is `x'. With no INPUT, or when INPUT is -, read standard input.\n\
\n\
-C, --line-bytes=SIZE put at most SIZE bytes of lines per output file\n\
-b, --bytes=SIZE put SIZE bytes per output file\n\
--version output version information and exit\n\
\n\
SIZE may have a multiplier suffix: b for 512, k for 1K, m for 1 Meg.\n\
-With no PREFIX, use x. With no INPUT, or when INPUT is -, read\n\
-standard input.\n\
");
}
exit (status);
",
program_name);
printf ("\
+Print checksum and block counts for each FILE.\n\
\n\
-r defeat -s, use BSD sum algorithm, use 1K blocks\n\
-s, --sysv use System V sum algorithm, use 512 bytes blocks\n\
",
program_name);
printf ("\
+Write each FILE to standard output, last line first.\n\
+With no FILE, or when FILE is -, read standard input.\n\
\n\
-b, --before attach the separator before instead of after\n\
-r, --regex interpret the separator as a regular expression\n\
-s, --separator=STRING use STRING as the separator instead of newline\n\
--help display this help and exit\n\
--version output version information and exit\n\
-\n\
-With no FILE, or when FILE is -, read standard input.\n\
");
}
exit (status);
",
program_name);
printf ("\
+Print last 10 lines of each FILE to standard output.\n\
+With more than one FILE, precede each with a header giving the file name.\n\
+With no FILE, or when FILE is -, read standard input.\n\
\n\
-c, --bytes=N output the last N bytes\n\
-f, --follow output appended data as the file grows\n\
b for 512, k for 1024, m for 1048576 (1 Meg). A first OPTION of -VALUE\n\
or +VALUE is treated like -n VALUE or -n +VALUE unless VALUE has one of\n\
the [bkm] suffix multipliers, in which case it is treated like -c VALUE\n\
-or -c +VALUE. With no FILE, or when FILE is -, read standard input.\n\
+or -c +VALUE.\n\
");
}
exit (status);
",
program_name);
printf ("\
+Translate, squeeze, and/or delete characters from standard input,\n\
+writing to standard output.\n\
\n\
-c, --complement first complement SET1\n\
-d, --delete delete characters in SET1, do not translate\n\
");
printf ("\
\n\
-SETs are specified as strings of characters. Most represent\n\
-themselves. Here are the special writings:\n\
+SETs are specified as strings of characters. Most represent themselves.\n\
+Interpreted sequences are:\n\
\n\
\\NNN character with octal value NNN (1 to 3 octal digits)\n\
\\\\ backslash\n\
",
program_name);
printf ("\
+Convert spaces in each FILE to tabs, writing to standard output.\n\
+With no FILE, or when FILE is -, read standard input.\n\
\n\
-a, --all convert all whitespace, instead of initial whitespace\n\
-t, --tabs=NUMBER have tabs NUMBER characters apart instead of 8\n\
--help display this help and exit\n\
--version output version information and exit\n\
\n\
-Instead of -t NUMBER or -t LIST, -NUMBER or -LIST may be used. With\n\
-no FILE, or when FILE is -, read standard input.\n\
+Instead of -t NUMBER or -t LIST, -NUMBER or -LIST may be used.\n\
");
}
exit (status);
",
program_name);
printf ("\
+Discard all but one of successive identical lines from INPUT (or\n\
+standard input), writing to OUTPUT (or standard output).\n\
\n\
-c, --count prefix lines by the number of occurrences\n\
-d, --repeated only print duplicate lines\n\
--help display this help and exit\n\
--version output version information and exit\n\
\n\
-A field is a run of whitespace, than non whitespace characters.\n\
-Fields are skipped before chars. If OUTPUT not specified, writes to\n\
-standard output. If INPUT not specified, reads from standard input.\n\
+A field is a run of whitespace, than non-whitespace characters.\n\
+Fields are skipped before chars. \n\
");
}
exit (status);
",
program_name);
printf ("\
-\n\
- -c, --bytes, --chars print the byte counts\n\
+Print line, word, and byte counts for each FILE, and a total line if\n\
+more than one FILE is specified. With no FILE, or when FILE is -,\n\
+read standard input.\n\
-l, --lines print the newline counts\n\
-w, --words print the word counts\n\
+ -c, --bytes, --chars print the byte counts\n\
--help display this help and exit\n\
--version output version information and exit\n\
-\n\
-Print lines, words and bytes in that order. If none of -clw, select\n\
-them all. With no FILE, or when FILE is -, read standard input.\n\
");
}
exit (status);