summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-09-21Include <getopt.h>.Paul Eggert
(main): Reject unknown options.
2004-09-21The following commands now reject unknown options:Paul Eggert
basename dirname factor hostname link nohup sync unlink yes Also, pathchk no longer accepts trailing options.
2004-09-21* man/rm.x: Say "the response is affirmative".Paul Eggert
2004-09-21Say "the response is affirmative" rather than "thePaul Eggert
response begins with y or Y".
2004-09-21* coreutils.texi (mv invocation, rm invocation): Say "the responsePaul Eggert
is affirmative" rather than "the response begins with y or Y".
2004-09-21(mv invocation, rm invocation): Say "the responsePaul Eggert
is affirmative" rather than "the response begins with y or Y".
2004-09-20Fix echo off-by-1 bug.Paul Eggert
2004-09-20(main): Don't dump core if POSIXLY_CORRECT and given no arguments.Paul Eggert
2004-09-19Remove md5sum --string.Paul Eggert
2004-09-19(STRING_OPTION): Remove.Paul Eggert
(long_options, main): Remove support for undocumented and obsolete --string option, as suggested in the 1996-09-26 patch.
2004-09-19Fix sticky-directory test case bug reported by Bert Fischer.Paul Eggert
2004-09-19Don't try to remove writeable files in a sticky /tmp directory, asPaul Eggert
SVR4-like systems (e.g., Solaris 9) let you remove such files.
2004-09-19m5sum cleanupPaul Eggert
2004-09-19(STATUS_OPTION, STRING_OPTION): New enums.Paul Eggert
(long_options, main): Use them instead of magic numbers 2 and 1. For --string, optarg can't possibly be NULL.
2004-09-19dd invocation fixesPaul Eggert
2004-09-19Log changes to dd, chroot, cksum.Paul Eggert
2004-09-19(dd invocation): Distinguish between optionsPaul Eggert
(e.g., --help) and operands (e.g., if=file). Move miscellaneous stuff after the operand descriptions, for clarity.
2004-09-19(usage): Distinguish between options and operands.Paul Eggert
(scanargs): Don't mess with argc, argv; getopt_long handles this now. Say "operands" for operands, not "options". (main): Use getopt_long, so that "dd --" works as POSIX requires.
2004-09-19Check for "dd --".Paul Eggert
2004-09-19(main): Usage failure is EXIT_FAIL, not EXIT_FAILURE.Paul Eggert
2004-09-19Fix typo in previous change.Paul Eggert
2004-09-19(main): Reject unknown options instead ofPaul Eggert
interpreting them as a directory to chroot to.
2004-09-19Remove obsolete comment about POSIX 1003.2/D11.2.Paul Eggert
The current standard (POSIX 1003.1-2004) is correct. (crc_remainder) [defined CRCTAB]: Renamed from "remainder" to avoid collision with builtin function. (main) [defined CRCTAB]: Output in lowercase hexadecimal, and output the first 0 as 8 digits, to make it easier to compare to the text of the standard. Output crctab to be a const array. (crctab): Use result of above changes. (long_options): Remove; not needed if empty. (main): getopt_long can't return 0 here, so simplify the code.
2004-09-13Regenerate.Paul Eggert
2004-09-13(localedir.h): Don't redirect directly to target.Paul Eggert
2004-09-13* src/Makefile.am (localedir.h): Don't redirect directly to target.Paul Eggert
2004-09-13Regenerate.Paul Eggert
2004-09-13Add -Wshadow.Paul Eggert
2004-09-13Rename backup enum to avoid shadowing problems.Paul Eggert
2004-09-13Adjust to backup enum rename.Paul Eggert
2004-09-13Adjust to backup file rename.Paul Eggert
2004-09-13Adjust to backup enum rename.Paul Eggert
2004-09-13(enum backuptype): Rename none -> no_backups,Paul Eggert
simple -> simple_backups, numbered_existing -> numbered_existing_backups, numbered -> numbered_backups to avoid shadowing problems. All uses changed. (VALID_BACKUP_TYPE): Don't evaluate arg more than once.
2004-09-13(check_extension, numbered_backup):Paul Eggert
Rename locals to avoid shadowing 'basename'.
2004-09-13(enum backuptype): Rename none -> no_backups,Paul Eggert
simple -> simple_backups, numbered_existing -> numbered_existing_backups, numbered -> numbered_backups to avoid shadowing problems. All uses changed.
2004-09-13(my-distcheck): When building with -Werror, also require -Wshadow.Paul Eggert
2004-09-13id shouldn't fail simply because some numbers can't be resolved.Paul Eggert
2004-09-13(print_full_info): Don't exit with failure status simplyPaul Eggert
because a user or group number can't be turned into a name.
2004-09-10"tail" now handles obscure POSIX 1003.2-1992 cases better.Paul Eggert
2004-09-10(test_vector): minus-* requiresPaul Eggert
_POSIX2_VERSION=199209 now, to work correctly if there is an input file. err-1 and err-3 no longer errors if there is another file.
2004-09-10(parse_obsolete_option): Renamed fromPaul Eggert
parse_obsolescent_option, since the options are obsolete now. Remove bool *arg; just exit if there's an error. Revamp to follow POSIX 1003.2-1992 more precisely, to handle cases like "tail - file" and "tail -10 -- file" correctly when we are conforming to the older standard. (main): Adjust to this change.
2004-09-10"tail" now handles obscure POSIX 1003.2-1992 cases better.Paul Eggert
2004-09-09src/test.c (usage): Document -r, -w, -x more carefully.Paul Eggert
2004-09-09Document test -r, -w, -x more carefully.Paul Eggert
2004-09-09(test invocation): Document -r, -w, -x more carefully.Paul Eggert
2004-09-09(usage): Document -r, -w, -x more carefully.Paul Eggert
2004-09-09Revamp sort last-resort comparison description.Paul Eggert
2004-09-09(sort invocation): -u disables the last-resortPaul Eggert
comparison, too. Revamp its description.
2004-09-09Document that test -h and -L don't dereference.Paul Eggert
2004-09-09src/test.c: document that -h and -L don't dereference.Paul Eggert