summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-09-09* src/test.c (usage): Document "test" (with no args) and "[ ]".Paul Eggert
2004-09-09(test invocation): Use better synopses.Paul Eggert
2004-09-09(usage): Document "test" (with no args) and "[ ]".Paul Eggert
2004-09-09Mention option-reordering, particularly with tr.Paul Eggert
2004-09-09(Common options): Some programs don't reorderPaul Eggert
options. (tr invocation, echo invocation, printf invocation, test invocation, expr invocation, basename invocation, chroot invocation, nice invocation, nohup invocation, seq invocation): This program doesn't reorder options. (tr invocation): Mention --help, --version, --. (echo invocation): Mention that -- isn't special. (test invocation): Mention that the expression is optional, and that test ! EXPR is like ! test EXPR. (expr invocation): Mention --help, --version.
2004-09-09Fix "tr xy -z" bug.Paul Eggert
2004-09-09(fowler-1): New test case.Paul Eggert
2004-09-09(main): Don't reorder options.Paul Eggert
2004-09-09Document that "tr xy -z" now works as per POSIX.Paul Eggert
Sort the descriptions.
2004-09-08Undo previous change.Paul Eggert
2004-09-08sort -u versus sort | uniq.Paul Eggert
2004-09-08(sort invocation): Add remarks about sort -u versus sort | uniq.Paul Eggert
Prompted by a question from Andrew Noymer.
2004-09-08c-strtod.c sets LC_ALL, not LC_NUMERIC.Paul Eggert
2004-09-08(C_STRTOD): Set LC_ALL to "C", not just LC_NUMERIC, to avoid thePaul Eggert
unlikely possibility of mixed locales screwing things up.
2004-09-07Fix "touch -- MMDDhhmm file" bug.Paul Eggert
2004-09-07Test for "touch -- MMDDmm file" bug. Also, setPaul Eggert
_POSIX2_VERSION=199209 and POSIXLY_CORRECT=1 so that it's a better test for obsolescent features.
2004-09-07Document "touch" POSIX-conformance fix.Paul Eggert
2004-09-07(main): Fix POSIX-conformance bug: "touch --Paul Eggert
MMDDhhmm file" must be treated like "touch MMDDhhmm file" when conforming to pre-2001 POSIX.
2004-09-07Emulate Solaris 8 "sort -y" better.Paul Eggert
2004-09-07(main): Emulate Solaris 8 and 9 "sort -y", so thatPaul Eggert
"sort -y abc" is like "sort abc" whereas "sort -y 100" is like plain "sort".
2004-09-06Add NEWS item for "od" changes.Paul Eggert
2004-09-06Several "od" changes for POSIX and FreeBSD compatibility.Paul Eggert
2004-09-06Several od changes for POSIX and FreeBSD compatibility.Paul Eggert
2004-09-06(od invocation): Several changes for POSIXPaul Eggert
and FreeBSD compatibility. Add support for XSI syntax (POSIX 1003.1-2004). Rename -s[N] to -S N. Remove documentation for -h. -i is now -t dI (not d2) and -l is now -t dL (not d4).
2004-09-06Several changes for POSIX and FreeBSD compatibility.Paul Eggert
(COMMON_SHORT_OPTIONS): Add -B, -D, -e, -F, -H, -I, -L, -O, -s, -X. (long_options, main): --strings is now -S, not -s. (usage): Reflect the usage changes. (parse_old_offset): Do not issue a diagnostic on failure; callers now do this as necessary. (main): Support POSIX syntax. Remove unused case 0 from getopt_long. Add support for new short options (many undocumented) for compatibility with FreeBSD. Remove FIXME for -s; it's now POSIX-compatible. Default format is now oS, not o2.
2004-09-06Improve quoting doc.Paul Eggert
2004-09-06(String tests): Improve quality of warning aboutPaul Eggert
quoting strings for the shell.
2004-09-06Sort options in usage message.Paul Eggert
2004-09-05Stty option-parsing fixes.Paul Eggert
2004-09-05(recover_mode): Arg is now char const *, not char *.Paul Eggert
(main): Use STDIN_FILENO, not 0. Simplify option-parsing code a tad.
2004-09-05Check for the fixed stty option-parsing bugs.Paul Eggert
2004-09-05(valid_options): Remove.Paul Eggert
(main): Fix some bugs in handling invalid option-combinations like "stty -F".
2004-09-05Regenerate.Paul Eggert
2004-09-03Minor stat.c patches from Pozsar Balazs for GNU/Linux.Paul Eggert
2004-09-03(HAVE_STRUCT_STATXFS_F_TYPE): Fix typo that preventedPaul Eggert
it from ever being nonzero. Reported by Pozsar Balazs in: http://lists.gnu.org/archive/html/bug-coreutils/2004-08/msg00189.html (human_fstype): Add ramfs, squashfs, sysfs. Reported by Pozsar Balazs in: http://lists.gnu.org/archive/html/bug-coreutils/2004-08/msg00188.html (human_fstype): Return char const *, not char *. Simplify internals a bit, and avoid casts.
2004-09-03dd minor cleanup for conversionsPaul Eggert
2004-09-03(usage): "alternated EBCDIC" -> "alternate EBCDIC".Paul Eggert
(bit_count): Remove. All uses changed to.... (multiple_bits_set): New function. (scanargs): Use it, and check separately for each set of incompatible options, to improve diagnostics. (MX): Remove. (apply_translations): Move checks for incompatible options to scanargs, so that they're done consistently.
2004-09-03dd conversion option cleanup.Paul Eggert
2004-09-03(dd invocation): Specify which conversion optionsPaul Eggert
are mutually exclusive. Give a bit more detail about ascii, ebcdic, and ibm conversions.
2004-09-03Output correct errno-related diagnostic on "paste" I/O errors.Paul Eggert
Improve diet libc port.
2004-09-03Output correct errno-related diagnostic on "paste" I/O errors.Paul Eggert
(write_error, xputchar): New functions. (paste_parallel): Use correct errno value after input error. (paste_parallel, paste_serial): Report errno value after output error.
2004-09-03(paste_parallel): Improve replacement for ENDLIST and CLOSED.Paul Eggert
2004-09-02Port to diet libc.Paul Eggert
2004-09-02(FTSENT): Use "unsigned short int" rather than the unportable "u_short".Paul Eggert
2004-09-02(fts_stat, fts_open, fts_read): Use "unsigned short int"Paul Eggert
rather than the unportable "u_short", and similarly for u_int.
2004-09-02(dummy_closed, CLOSED, dummy_endlist, ENDLIST): Remove;Paul Eggert
it's not portable C to assume FILE is a complete type. (paste_parallel): Use null instead of ENDLIST, and an explicit boolean instead of CLOSED.
2004-08-24Fix infloop-3 to match POSIX.Paul Eggert
Add blanks-1 through blanks-13.
2004-08-24(add_tab_stop): Renamed from add_tabstop. All uses changed.Paul Eggert
(parse_tab_stop): Renamed from parse_tabstop. All uses changed. (validate_tab_stop): Renamed from validate_tabstop. All uses changed. (next_file, main): Check fclose against 0, not EOF. (unexpand): Remove unnecessary casts. Add another loop nesting level, for lines, so that per-line variables are initialized cleanly. Revamp tab checking. Check for write error immediately, rather than just once at the end of the program. (TAB_STOP_SENTINEL): Remove. (tab_size): Now size_t, not uintmax_t, since we need to store the sequences of blanks. (max_column_width): New var. (usage): Say "blank" where POSIX requires this. (add_tab_stop): Calculate maximum column width. (unexpand): Store the pending blanks, instead of merely counting them. Follow POSIX's rules about -a requiring two blanks before a tab stop. Get rid of internal label and goto.
2004-08-24Revamp to resemble the new unexpand.c better.Paul Eggert
(usage): -i does not convert tabs after non-tabs. (add_tab_stop): Renamed from add_tabstop. All uses changed. (parse_tab_stop): Renamed from parse_tabstop. All uses changed. (validate_tab_stop): Renamed from validate_tabstop. All uses changed. (next_file, main): Check fclose against 0, not EOF. (expand): Remove unnecessary casts. Add another loop nesting level, for lines, so that per-line variables are initialized cleanly. Revamp tab checking. Check for write error immediately, rather than just once at the end of the program.
2004-08-24Standardize on "tab stop" (the POSIX usage)Paul Eggert
rather than "tabstop". (unexpand invocation): Use "blank" rather than "space" when POSIX requires "blank". Define "blank". Initial blanks are converted even if there's just one. For -a, convert two or more blanks only if they occur just before a tab stop.