Age | Commit message (Collapse) | Author |
|
|
|
|
|
(cut_fields): Check for I/O error as well as end-of-file.
|
|
|
|
|
|
(cut_fields): Adjust caller to use the just-extended one in ../lib.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(cut_fields): Cast to `unsigned char' before comparing.
(main): Cast to `unsigned char' before assigning.
|
|
|
|
[long_options]: Remove the "help" and "version" entries.
Remove declarations of show_help and show_version.
(main): Use parse_long_options, including author name(s).
Remove the show_version and show_help blocks.
|
|
|
|
|
|
|
|
(main): Fix handling of --delimiter='' (-d ''). Until now, it has
never worked as advertised. I guess no one tried it.
|
|
|
|
|
|
|
|
|
|
|
|
(getstr): Cast xmalloc return value to char*.
(xmalloc): Remove decl.
(xrealloc): Remove decl.
|
|
|
|
that special case. Before `cut -f1 </dev/null' would improperly
output a single newline. Reported by Phil Richards.
|
|
|
|
*) 0' as last parameter in getopt_long call.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This doesn't change `error (1' calls.
|
|
|
|
(main): Use PACKAGE_VERSION instead of version_string.
|
|
bindtextdomain, and textdomain.
|
|
|
|
|
|
`gcc -Wall' about comparing signed and unsigned types.
|
|
|
|
(Hence, no semantic change).
|
|
|
|
From Karl Berry.
|
|
|