Sun Oct 24 00:31:02 1993 Jim Meyering (meyering@comco.com)
+ * tail.c: Don't include <signal.h>. It hasn't been necessary
+ since the Dec 12, 1992 change.
+
* join.c (main): Accept `-v 1' again. First adding --version
long option had broken it, though -v1 still worked. Call
parse_long_options instead of adding "help" and "version"
program_name);
printf ("\
\n\
- -b, --suffix=FORMAT use sprintf FORMAT instead of %%d\n\
- -f, --prefix=PREFIX use PREFIX instead of xx\n\
- -k, --keep-files do not remove output files on errors\n\
- -n, --digits=DIGITS use specified number of digits instead of 2\n\
- -s, --quiet, --silent do not print counts of output file sizes\n\
- -z, --elide-empty-files remove empty output files\n\
- --help display this help and exit\n\
- --version output version information and exit\n\
+ -b, --suffix=FORMAT use sprintf FORMAT instead of %%d\n\
+ -f, --prefix=PREFIX use PREFIX instead of xx\n\
+ -k, --keep-files do not remove output files on errors\n\
+ -n, --digits=DIGITS use specified number of digits instead of 2\n\
+ -s, --quiet, --silent do not print counts of output file sizes\n\
+ -z, --elide-empty-files remove empty output files\n\
+ --help display this help and exit\n\
+ --version output version information and exit\n\
\n\
Read standard input if FILE is -. Each PATTERN may be:\n\
\n\
program_name);
printf ("\
\n\
- -b, --bytes LIST output only these bytes\n\
- -c, --characters LIST output only these characters\n\
- -d, --delimiter DELIM use DELIM instead of TAB for field delimiter\n\
- -f, --fields LIST output only these fields\n\
+ -b, --bytes=LIST output only these bytes\n\
+ -c, --characters=LIST output only these characters\n\
+ -d, --delimiter=DELIM use DELIM instead of TAB for field delimiter\n\
+ -f, --fields=LIST output only these fields\n\
-n (ignored)\n\
-s, --only-delimited do not print lines not containing delimiters\n\
--help display this help and exit\n\
printf ("\
\n\
-i, --initial do not convert TABs after non whitespace\n\
- -t, --tabs NUMBER have tabs NUMBER characters apart, not 8\n\
- -t, --tabs LIST use comma separated list of explicit tab positions\n\
+ -t, --tabs=NUMBER have tabs NUMBER characters apart, not 8\n\
+ -t, --tabs=LIST use comma separated list of explicit tab positions\n\
--help display this help and exit\n\
--version output version information and exit\n\
\n\
\n\
-b, --bytes count bytes rather than columns\n\
-s, --spaces break at word boundaries\n\
- -w, --width WIDTH use WIDTH columns instead of 80\n\
+ -w, --width=WIDTH use WIDTH columns instead of 80\n\
");
}
exit (status);
program_name);
printf ("\
\n\
- -c, --bytes SIZE print first SIZE bytes\n\
- -l, -n, --lines NUMBER print first NUMBER lines instead of first 10\n\
+ -c, --bytes=SIZE print first SIZE bytes\n\
+ -l, -n, --lines=NUMBER print first NUMBER lines instead of first 10\n\
-q, --quiet, --silent never print headers giving file names\n\
-v, --verbose always print headers giving file names\n\
--help display this help and exit\n\
program_name);
printf ("\
\n\
- -b, --body-numbering STYLE use STYLE for numbering body lines\n\
- -d, --section-delimiter CC use CC for separating logical pages\n\
- -f, --footer-numbering STYLE use STYLE for numbering footer lines\n\
- -h, --header-numbering STYLE use STYLE for numbering header lines\n\
- -i, --page-increment NUMBER line number increment at each line\n\
- -l, --join-blank-lines NUMBER group of NUMBER empty lines counted as one\n\
- -n, --number-format FORMAT insert line numbers according to FORMAT\n\
+ -b, --body-numbering=STYLE use STYLE for numbering body lines\n\
+ -d, --section-delimiter=CC use CC for separating logical pages\n\
+ -f, --footer-numbering=STYLE use STYLE for numbering footer lines\n\
+ -h, --header-numbering=STYLE use STYLE for numbering header lines\n\
+ -i, --page-increment=NUMBER line number increment at each line\n\
+ -l, --join-blank-lines=NUMBER group of NUMBER empty lines counted as one\n\
+ -n, --number-format=FORMAT insert line numbers according to FORMAT\n\
-p, --no-renumber do not reset line numbers at logical pages\n\
- -s, --number-separator STRING add STRING after (possible) line number\n\
- -v, --first-page NUMBER first line number on each logical page\n\
- -w, --number-width NUMBER use NUMBER columns for line numbers\n\
+ -s, --number-separator=STRING add STRING after (possible) line number\n\
+ -v, --first-page=NUMBER first line number on each logical page\n\
+ -w, --number-width=NUMBER use NUMBER columns for line numbers\n\
--help display this help and exit\n\
--version output version information and exit\n\
\n\
program_name, program_name);
printf ("\
\n\
- -A, --address-radix RADIX decide how file offsets are printed\n\
+ -A, --address-radix=RADIX decide how file offsets are printed\n\
-C, --backward-compatible trigger older syntax\n\
- -N, --read-bytes BYTES limit dump to BYTES input bytes per file\n\
- -j, --skip-bytes BYTES skip BYTES input bytes first on each file\n\
- -s, --strings [BYTES] output strings of at least BYTES graphic chars\n\
- -t, --format TYPE select output format or formats\n\
+ -N, --read-bytes=BYTES limit dump to BYTES input bytes per file\n\
+ -j, --skip-bytes=BYTES skip BYTES input bytes first on each file\n\
+ -s, --strings[=BYTES] output strings of at least BYTES graphic chars\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\
+ -w, --width[=BYTES] output BYTES bytes per output line\n\
--help display this help and exit\n\
--version output version information and exit\n\
\n\
program_name);
printf ("\
\n\
- -d, --delimiters LIST reuse characters from LIST instead of TABs\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\
program_name);
printf ("\
\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\
- -l, --lines NUMBER put NUMBER lines per output file\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\
+ -l, --lines=NUMBER put NUMBER lines per output file\n\
-NUMBER same as -l NUMBER\n\
--help display this help and exit\n\
--version output version information and exit\n\
\n\
-b, --before attach the separator before instead of after\n\
-r, --regex intepret the separator as a regular expression\n\
- -s, --separator STRING use STRING as the separator instead of newline\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\
program_name);
printf ("\
\n\
- -c, --bytes SIZE print last SIZE bytes\n\
+ -c, --bytes=SIZE print last SIZE bytes\n\
-f, --follow print files as they grow\n\
- -l, -n, --lines NUMBER print last NUMBER lines, instead of last 10\n\
+ -l, -n, --lines=NUMBER print last NUMBER lines, instead of last 10\n\
-q, --quiet, --silent never print headers giving file names\n\
-v, --verbose always print headers giving file names\n\
--help display this help and exit\n\
printf ("\
\n\
-a, --all convert all whitespace, instead of initial whitespace\n\
- -t, --tabs NUMBER have tabs NUMBER characters apart, not 8\n\
- -t, --tabs LIST use comma separated list of explicit tab positions\n\
+ -t, --tabs=NUMBER have tabs NUMBER characters apart instead of 8\n\
+ -t, --tabs=LIST use comma separated list of explicit tab positions\n\
--help display this help and exit\n\
--version output version information and exit\n\
\n\
\n\
-c, --count prefix lines by the number of occurrences\n\
-d, --repeated only print duplicate lines\n\
- -f, --skip-fields N avoid comparing the N first fields\n\
- -s, --skip-chars N avoid comparing the N first characters\n\
+ -f, --skip-fields=N avoid comparing the N first fields\n\
+ -s, --skip-chars=N avoid comparing the N first characters\n\
-u, --unique only print unique lines\n\
- -w, --check-chars N compare no more then N characters in lines\n\
+ -w, --check-chars=N compare no more then N characters in lines\n\
-N same as -f N\n\
+N same as -s N\n\
--help display this help and exit\n\