1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-18 09:46:33 +02:00
Commit Graph

230 Commits

Author SHA1 Message Date
Jim Meyering
b4c28f911e (cut invocation): Say when --complement is useful. 2004-12-04 14:23:48 +00:00
Paul Eggert
57fbaa8a74 (du invocation): Use if=/dev/null rather
than :|.  Problem reported by Dan Jacobson.
Use "seek=2GiB" rather than the wordier "seek=`echo '2^31'|bc`".
Say "KiB" not the (inaccurate) "kilobytes".
Similarly for "GiB" and "gigabytes".
2004-11-27 09:37:22 +00:00
Paul Eggert
2852d59d22 (dd invocation): Add noctty flag to dd. 2004-11-20 08:56:05 +00:00
Paul Eggert
4aaf33c29e (General output formatting): -x doesn't have
an operand.
(Formatting the file names): Warn that even with -N unprintable
chars are still printed as '?' some times.
(rm invocation): Reword rm -d to note that it's sometimes useful
on non-directories.
(logname invocation, users invocation, who invocation):
The utmp and wtmp file names vary from system to system.
2004-11-16 20:29:58 +00:00
Paul Eggert
ae5c7e83c6 (dd invocation): Reword the new dd message. 2004-11-16 07:48:36 +00:00
Paul Eggert
9213ced1a7 (dd invocation): dd now outputs total bytes,
seconds, and bytes per second.
2004-11-15 06:50:23 +00:00
Paul Eggert
df8ea7a4e8 Document TZ better, and adjust to new getdate.texi.
(Top): Update menu.
(pr invocation, Formatting file timestamps, touch invocation,
stat invocation, who invocation, date invocation, Options for date):
Mention TZ.
2004-10-29 23:22:09 +00:00
Paul Eggert
57ac7f5a02 (Standards conformance): Use "head -10" rather than "head -1" as
example of obsolete usage, since the POSIX consensus is that "head -1"
could be supported even if we don't yet have clear consensus on "head
-10".  See today's revision to the SUS FAQ
<http://www.opengroup.org/austin/papers/single_unix_faq.html>.
2004-10-28 07:50:51 +00:00
Paul Eggert
ea75231962 (pathchk invocation): Options must precede operands. 2004-10-25 03:20:02 +00:00
Paul Eggert
91b17c0c82 (pathchk invocation): Overall lengths are
OS limits, not file system limits.  Component length checks
apply to all components, not merely to existing ones.  Say
that nonexistent names are not errors.  For -p, omit all
checks based on the underlying file system, not merely length
checks.  Explain what the portabile file name character set is.
2004-10-18 06:29:51 +00:00
Paul Eggert
235bae84e1 (printf invocation): Mention ISO/IEC 10646 as
well as Unicode.  Various minor formatting cleanups.
2004-10-15 19:31:08 +00:00
Paul Eggert
71e1d43186 (sort invocation): Move LC_ALL, LC_COLLATE
index entries to proper paragraph.
2004-10-13 21:47:58 +00:00
Paul Eggert
5e291def7c Add missing . 2004-10-11 23:47:20 +00:00
Paul Eggert
23b1a403d0 (Special built-in utilities): New node.
(printf invocation): builtin -> built-in, for consistency
with POSIX terminology.
(test invocation, pwd invocation):
Use specific rather than generic language to warn about
built-in commands.
(chroot invocation, env invocation, nice invocation, nohup invocation):
Warn that command must not be a special built-in.
(env invocation): Warn about environment variables with unusual
spellings, or duplicates.
2004-10-11 23:43:49 +00:00
Paul Eggert
b7cffb8c5e (ls invocation): Document "ls --hide". 2004-09-26 22:56:04 +00:00
Paul Eggert
6ca4627b99 (chmod invocation): Warn about "chmod -w file". 2004-09-24 23:33:13 +00:00
Paul Eggert
9a9f80bc65 (tail invocation): Fix bugs in the description of
the obsolete syntax (e.g., it does not support -k or -m).  Warn
about usages like "tail -" and "tail -c 4" that are ambigous on
older systems.
2004-09-23 20:26:31 +00:00
Paul Eggert
2e1b232b61 (mv invocation, rm invocation): Say "the response
is affirmative" rather than "the response begins with y or Y".
2004-09-21 05:56:11 +00:00
Paul Eggert
95547591e9 (dd invocation): Distinguish between options
(e.g., --help) and operands (e.g., if=file).  Move miscellaneous
stuff after the operand descriptions, for clarity.
2004-09-19 01:46:28 +00:00
Paul Eggert
978abbd279 (test invocation): Document -r, -w, -x more carefully. 2004-09-09 23:21:38 +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
04ddd03a65 (test invocation): Mention that -h and -L don't dereference symlinks. 2004-09-09 04:14:49 +00:00
Paul Eggert
fd8e71bcde (test invocation): Use better synopses. 2004-09-09 03:54:13 +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
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
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
ac161f59f7 (String tests): Improve quality of warning about
quoting strings for the shell.
2004-09-06 01:03:20 +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
bb59926563 Standardize on "tab stop" (the POSIX usage)
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.
2004-08-24 07:37:28 +00:00
Paul Eggert
6f9f676ca7 (chown invocation): Fix synopsis:
group must always be preceded by separator.
"chown : file" and "chown '' file" don't change the owner or group.
Update the explanation of what happens to the set-user-ID or
set-group-ID bits, e.g., they sometimes are not cleared if they
denote mandatory locking.  Change "find"-oriented examples to use
chown -h.
2004-08-19 20:05:52 +00:00
Paul Eggert
9e4d09fe33 (printf invocation): Clarify how "printf" is
supposed to work with extra arguments, missing arguments, etc.
2004-08-18 20:22:32 +00:00
Paul Eggert
4eafd1b11f (Common options): Clarify that "-" means
stdin/stdout only when it is an operand, not when it is an
option-argument.
(shred invocation): "shred -- -" is equivalent to "shred -",
not to "shred ./-".
(tee invocation): "tee -" means to copy (again) to stdout.
2004-08-10 22:07:31 +00:00
Paul Eggert
b41eb892ea (nice invocation): Document the "nice value", and
how it affects the scheduling priority.  (The old documentation
implied that the nice value equaled the scheduling priority, which
isn't accurate.)  Document that the range of nice values might
exceed -20..19.  Specify what happens when you give a nice value
that is out of range, or when you don't have permissions to lower
the nice value.  Bash doesn't have a builtin 'nice', so don't say
"most shells" have one.
2004-07-26 06:08:18 +00:00
Paul Eggert
c8ab5c1358 (tail invocation): "size has remained the same"
-> "file has not changed", which is more accurate for fifos.
2004-07-23 22:11:49 +00:00
Paul Eggert
3f565ee1fe (tail invocation): Do not ignore -f for
all pipes, just for when standard input is a pipe and no
file operand is specified.
2004-07-22 20:54:33 +00:00
Jim Meyering
159c3f467e (readlink invocation): Document new
"readlink -f" behaviour and new canonicalize options, -e and -m.
2004-07-06 16:15:45 +00:00
Jim Meyering
57fcc427c0 (Common options, Target directory, cp invocation,
install invocation, mv invocation, ln invocation): Add -t as a
short option for --target-directory, and -T as a short option for
--no-target-directory.  Clean up relevant synopses a bit, so that
the language is similar for all.
2004-07-02 17:02:15 +00:00
Jim Meyering
6119eaca83 Put the right amount of space at sentence ends.
Make sure "i.e." and "e.g." are followed by commas (the GNU style).
Put blank lines before and after every @example, prefer the
previous line to end in ":" (when not a sentence end, for consistency),
and prepend @noindent to the following line when appropriate.
In examples, use "--" arguments when needed to prevent undesired
interpretation of operands as options.
Use "file name" rather than "filename", as per the GNU coding standards.
Remove unwanted spaces before @footnote.
Use "---" when appropriate, instead of " -- ".
Use "name" (or something like that) rather than "path" or "pathname",
since the GNU coding standards don't allow "path".
Use @acronym, @command, @minus{}, @samp in a few places,
where appropriate.
(Target directory): Clarify description of example.
(fmt invocation): Give issue number for reference, and reword
for clarity.
(sort invocation): Note that xargs without -0 also mishandles
file names containing some special characters other than newline.
(Translating): Mention that \012 is not universally portable.
Use '\0' rather than '\000'.
(Squeezing): bourne -> Bourne.
Fix unportable usage of '\n' by replacing it with '[\n*]'.
(More details about version sort): Remove unnecessary indent
in examples.
(dd invocation): Use 'kill -s USR1', not 'kill -USR1', as POSIX
indicates that the former is more portable (the latter is an XSI
extension).
(shred invocation): Use @uref rather than @url, and use a more-typical
style for the date.
(kill invocation): Clarify usage; for example, "kill -s TERM -1"
isn't allowed.
(seq invocation): Reword to avoid implying that printf necessarily
fails for numbers outside the 32-bit range.  Prefer separating
options from their operands.
(Opening the software toolbox): Give an online reference to
Robbins's article, and give a date.  Don't imply that the
current documentation is unchanged from his article.
(Putting the tools together): Rework examples so that they don't
assume the C locale; nowadays many users now operate outside the C
locale by default.  While we're at it, don't assume ASCII either.
Indent example to match actual output from GNU uniq.  Remove some
unnecessary and confusing brackets from 'tr' operands.  "Software
Tools in Pascal" is back in print, according to Amazon anyway.
Add references to Kernighan's online copies of examples.
2004-07-02 16:29:50 +00:00
Jim Meyering
5e5f4bc2fb Standardize on "file system" rather
than "filesystem", as POSIX prefers it with a space.
2004-06-30 22:09:00 +00:00
Jim Meyering
b2a58b9d3c (Common options, Target directory, cp
invocation, install invocation, mv invocation, ln invocation):
Likewise.
(link invocation): Explain how to rewrite link using ln now
that we have --no-target-directory.
(ln invocation): Explain that --no-target-directory subsumes
--no-dereference.
(unlink invocation): Modify wording to match new wording in
link invocation.
2004-06-30 18:42:01 +00:00
Jim Meyering
67930cefbe (install invocation): Document --target-directory in synopsis, too. 2004-06-29 14:41:51 +00:00
Jim Meyering
65f4c6c6bf (yes invocation): "--" is now supported.
(false invocation, true invocation): --help and --version now
work unconditionally.
2004-06-17 14:38:52 +00:00
Jim Meyering
75e49a2b17 Remove special cases for POSIXLY_CORRECT when POSIX allows the GNU behavior.
(pr invocation, unlink invocation): Document this.
2004-06-15 21:56:15 +00:00
Jim Meyering
34b2d4920f Remove menu references to just-removed subsection. 2004-06-07 08:21:07 +00:00
Jim Meyering
032b5b3bcf (tr invocation): Remove the section describing
how POSIXLY_CORRECT changes tr's behavior.
2004-06-06 19:31:43 +00:00
Jim Meyering
2cd87c6562 (cut invocation): Clarify what --output-delimiter=STR
does with byte/character ranges.
2004-06-02 21:23:39 +00:00
Jim Meyering
733ceab1b8 (tr invocation): Mention -C. 2004-06-02 08:35:02 +00:00
Jim Meyering
d34466e25d Add some index references for POSIXLY_CORRECT.
(echo invocation): Document today's changes.
2004-06-01 12:46:22 +00:00
Jim Meyering
3591f10746 chgrp and chown now dereference symlinks by default, per POSIX.
(chgrp invocation, chown invocation): Document it.
2004-05-17 12:07:25 +00:00
Jim Meyering
d667552245 (sort invocation): Document that "sort -m -o F"
might write F before reading all the input.
2004-05-14 07:32:56 +00:00