Paul Eggert
ffcbb97833
(usage): Document -r, -w, -x more carefully.
2004-09-09 23:21:20 +00:00
Paul Eggert
0dd3269a47
Revamp sort last-resort comparison description.
2004-09-09 23:02:40 +00:00
Paul Eggert
86a87a157d
(sort invocation): -u disables the last-resort
...
comparison, too. Revamp its description.
2004-09-09 23:02:12 +00:00
Paul Eggert
b0b7a0164e
Document that test -h and -L don't dereference.
2004-09-09 04:15:32 +00:00
Paul Eggert
ca09408448
src/test.c: document that -h and -L don't dereference.
2004-09-09 04:15:19 +00:00
Paul Eggert
200579181f
(usage): Mention that -h and -L don't dereference.
2004-09-09 04:15:02 +00:00
Paul Eggert
04ddd03a65
(test invocation): Mention that -h and -L don't dereference symlinks.
2004-09-09 04:14:49 +00:00
Paul Eggert
2d06202f5f
* src/test.c (usage): Document "test" (with no args) and "[ ]".
2004-09-09 03:54:26 +00:00
Paul Eggert
fd8e71bcde
(test invocation): Use better synopses.
2004-09-09 03:54:13 +00:00
Paul Eggert
47358fd2de
(usage): Document "test" (with no args) and "[ ]".
2004-09-09 03:53:54 +00:00
Paul Eggert
bf5a0f1dcb
Mention option-reordering, particularly with tr.
2004-09-09 00:29:27 +00:00
Paul Eggert
88fde700e1
(Common options): Some programs don't reorder
...
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-09 00:29:09 +00:00
Paul Eggert
66942e36a8
Fix "tr xy -z" bug.
2004-09-09 00:28:44 +00:00
Paul Eggert
73f6003f89
(fowler-1): New test case.
2004-09-09 00:28:18 +00:00
Paul Eggert
c9a4995265
(main): Don't reorder options.
2004-09-09 00:27:56 +00:00
Paul Eggert
2ac3c657c6
Document that "tr xy -z" now works as per POSIX.
...
Sort the descriptions.
2004-09-09 00:27:45 +00:00
Paul Eggert
3070e8cd08
Undo previous change.
2004-09-08 23:07:04 +00:00
Paul Eggert
9c8402de4c
sort -u versus sort | uniq.
2004-09-08 19:29:41 +00:00
Paul Eggert
55fe28e3e9
(sort invocation): Add remarks about sort -u versus sort | uniq.
...
Prompted by a question from Andrew Noymer.
2004-09-08 19:29:18 +00:00
Paul Eggert
ec7650c027
c-strtod.c sets LC_ALL, not LC_NUMERIC.
2004-09-08 17:02:01 +00:00
Paul Eggert
248313ef6a
(C_STRTOD): Set LC_ALL to "C", not just LC_NUMERIC, to avoid the
...
unlikely possibility of mixed locales screwing things up.
2004-09-08 17:00:24 +00:00
Paul Eggert
0e0adc6325
Fix "touch -- MMDDhhmm file" bug.
2004-09-07 06:23:39 +00:00
Paul Eggert
8ac79b7076
Test for "touch -- MMDDmm file" bug. Also, set
...
_POSIX2_VERSION=199209 and POSIXLY_CORRECT=1 so that it's
a better test for obsolescent features.
2004-09-07 06:23:09 +00:00
Paul Eggert
b8f278429d
Document "touch" POSIX-conformance fix.
2004-09-07 06:22:13 +00:00
Paul Eggert
f786a91cd3
(main): Fix POSIX-conformance bug: "touch --
...
MMDDhhmm file" must be treated like "touch MMDDhhmm file" when
conforming to pre-2001 POSIX.
2004-09-07 06:21:46 +00:00
Paul Eggert
d1d35fc729
Emulate Solaris 8 "sort -y" better.
2004-09-07 05:09:48 +00:00
Paul Eggert
0cd2d8a70e
(main): Emulate Solaris 8 and 9 "sort -y", so that
...
"sort -y abc" is like "sort abc" whereas "sort -y 100" is like
plain "sort".
2004-09-07 05:09:24 +00:00
Paul Eggert
47b9873ada
Add NEWS item for "od" changes.
2004-09-06 07:49:21 +00:00
Paul Eggert
d225526e38
Several "od" changes for POSIX and FreeBSD compatibility.
2004-09-06 07:49:06 +00:00
Paul Eggert
50df4a8518
Several od changes for POSIX and FreeBSD compatibility.
2004-09-06 07:47:21 +00:00
Paul Eggert
772b168eb3
(od invocation): Several changes for POSIX
...
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-06 07:47:04 +00:00
Paul Eggert
286260ca55
Several changes for POSIX and FreeBSD compatibility.
...
(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-06 07:46:43 +00:00
Paul Eggert
b05c150fed
Improve quoting doc.
2004-09-06 01:03:29 +00:00
Paul Eggert
ac161f59f7
(String tests): Improve quality of warning about
...
quoting strings for the shell.
2004-09-06 01:03:20 +00:00
Paul Eggert
3427d5c60c
Sort options in usage message.
2004-09-06 01:00:03 +00:00
Paul Eggert
ee86084bea
Stty option-parsing fixes.
2004-09-05 07:28:11 +00:00
Paul Eggert
893a0d6f31
(recover_mode): Arg is now char const *, not char *.
...
(main): Use STDIN_FILENO, not 0.
Simplify option-parsing code a tad.
2004-09-05 07:27:51 +00:00
Paul Eggert
a806fcf640
Check for the fixed stty option-parsing bugs.
2004-09-05 07:22:21 +00:00
Paul Eggert
9be806694a
(valid_options): Remove.
...
(main): Fix some bugs in handling invalid option-combinations
like "stty -F".
2004-09-05 07:21:42 +00:00
Paul Eggert
c43708fda4
Regenerate.
2004-09-05 07:11:47 +00:00
Paul Eggert
c69c5ad84c
Minor stat.c patches from Pozsar Balazs for GNU/Linux.
2004-09-03 21:59:03 +00:00
Paul Eggert
7ee151d229
(HAVE_STRUCT_STATXFS_F_TYPE): Fix typo that prevented
...
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-03 21:58:36 +00:00
Paul Eggert
93bdd0d094
dd minor cleanup for conversions
2004-09-03 08:11:52 +00:00
Paul Eggert
54f4b3ce74
(usage): "alternated EBCDIC" -> "alternate EBCDIC".
...
(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-03 08:11:34 +00:00
Paul Eggert
0501474249
dd conversion option cleanup.
2004-09-03 08:01:21 +00:00
Paul Eggert
6c75cc51ea
(dd invocation): Specify which conversion options
...
are mutually exclusive. Give a bit more detail about ascii,
ebcdic, and ibm conversions.
2004-09-03 08:00:48 +00:00
Paul Eggert
299fd05251
Output correct errno-related diagnostic on "paste" I/O errors.
...
Improve diet libc port.
2004-09-03 01:35:50 +00:00
Paul Eggert
53af9da394
Output correct errno-related diagnostic on "paste" I/O errors.
...
(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 01:35:33 +00:00
Paul Eggert
d33243b5ac
(paste_parallel): Improve replacement for ENDLIST and CLOSED.
2004-09-03 01:23:15 +00:00
Paul Eggert
5e2e647328
Port to diet libc.
2004-09-02 23:59:52 +00:00