summaryrefslogtreecommitdiff
path: root/doc/coreutils.texi
AgeCommit message (Collapse)Author
2006-10-25new feature: rm accepts new option: --one-file-systemJim Meyering
Suggested by Steve McIntyre in <http://bugs.debian.org/392925>. * src/remove.h (struct rm_options) [one_file_system]: New member. * src/rm.c (rm_option_init): Initialize it. (usage): Document the option. * src/mv.c (rm_option_init): Likewise. * src/remove.c (remove_dir): With --one-file-system and --recursive, for each directory command line argument, do not affect a file system different from that of the starting directory. And give a diagnostic. * src/rm.c (ONE_FILE_SYSTEM): New enum. (main): Handle new option. * tests/rm/one-file-system: Test the above. * tests/rm/Makefile.am (TESTS): Add one-file-system. * tests/Makefile.am (check-root): Add the rm/one-file-system test to the list. (EXTRA_DIST): Add other-fs-tmpdir. * tests/mv/setup: Removed. Renamed to... * tests/other-fs-tmpdir: ...this new file. * tests/mv/Makefile.am (EXTRA_DIST): Remove setup. * tests/mv/acl: Reflect renaming: use ../other-fs-tmpdir. * tests/mv/backup-is-src: Likewise. * tests/mv/hard-link-1: Likewise. * tests/mv/leak-fd: Likewise. * tests/mv/mv-special-1: Likewise. * tests/mv/part-fail: Likewise. * tests/mv/part-hardlink: Likewise. * tests/mv/part-rename: Likewise. * tests/mv/part-symlink: Likewise. * tests/mv/partition-perm: Likewise. * tests/mv/to-symlink: Likewise. * tests/mv/into-self-2: Likewise. [doc/ChangeLog] * coreutils.texi (rm invocation): Describe --one-file-system.
2006-09-26[ChangeLog]Paul Eggert
* NEWS: "groups user" no longer outputs "user :"; you need at least two users. "groups" now processes options like --help more compatibly. * src/groups.sh: Implement the option-processing change. Handle user and group names with special characters more robustly. Report write errors instead of exiting silently with status 1. [doc/ChangeLog] * coreutils.texi (groups invocation): "groups" no longer prefixes the output with "user :" unless more than one user is specified.
2006-09-19* coreutils.texi (Disk usage): Clarify intro. Problem reported by Van Ly.Paul Eggert
2006-09-19(cp invocation): Clarify cp -i a bit more.Paul Eggert
2006-09-19* coreutils.texi (cp invocation): Say that -i and -f arePaul Eggert
independent. Clarify -i's behavior.
2006-09-08tail now ignores the -f option if POSIXLY_CORRECT is set,Paul Eggert
no file operand is given, and standard input is any FIFO.
2006-09-03(Treating / specially): --preserve-root isPaul Eggert
now the default for rm. (rm invocation): Likewise. Also, document that you can't remove `.' or `..'. Use the POSIX term "root directory" rather than the more-ambiguous "file system root".
2006-08-17Add/fix copyright notices and adjust to latest GNU FDL.Paul Eggert
2006-08-15* NEWS: Mention that df exits with nonzero status if it generatesPaul Eggert
no output. This change was in 6.0 but inadvertently unmentioned. * doc/coreutils.texi (df invocation): df exits nonzero if it outpus nothing. * src/df.c (file_systems_processed): Renamed from n_valid_args, and now a boolean. (show_dev): Don't set it until we actually output something. Print the header if this is the first output. (main): Don't print a header, as that is now show_dev's job. * tests/misc/Makefile.am (TESTS): Add df. * tests/misc/df: New file.
2006-08-09Warn about oflag=append without conv=notrunc.Paul Eggert
2006-08-08(shuf invocation, Random sources): New sections.Paul Eggert
(Operating on sorted files): Add shuf. (sort invocation, shred invocation): New option --random-source. (sort invocation): Fix typo: -R -> -r.
2006-07-28(install invocation, mkdir invocation):Paul Eggert
Add cross-references to Directory Setuid and Setgid. (install-invocation): The default mode is no longer equivalent to 755.
2006-07-26* src/ls.c (print_color_indicator): Test for S_IFREG first, ratherJim Meyering
than having the code test for all of the other types first. Hoist the set-uid/gid-testing code "up" into this new block. Classify any other type of file (e.g., S_TYPEISSHM, etc.) as C_ORPHAN, not as C_FILE. * doc/coreutils.texi (What information is listed): Mention that missing pieces of information are marked with "?". From Paul Eggert.
2006-07-23(Mode Structure, Symbolic Modes, Numeric Modes): Be more carefulPaul Eggert
about distinguishing file mode bits from permissions bits, and about execute versus search permission. The FreeBSD command is chflags, not chrflags.
2006-07-22(What information is listed): Clarify that the restricted deletionPaul Eggert
flag is another name for the sticky bit.
2006-07-17Change GNU to @acronym{GNU} in a few places.Paul Eggert
Use "set-user-ID" and "set-group-ID" a bit more consistently. Use "appropriate privileges" rather than "super-user" a bit more consistently. (install invocation): Parent directories are now 755 without uid or gid changing. The default mode is now 0755, not 755. (mkdir invocation): Rewrite the top-level usage description, since I couldn't easily follow the old one. It's now 3 lines not 8. For -m, describe file permission bits versus other bits, and note that mkdir is atomic if you don't mention special bits. (chmod invocation): Mention what chmod does to setgid and setuid bits.
2006-07-08* coreutils.texi (Squeezing): Separate doubled "the", so typo-checkersJim Meyering
don't complain.
2006-07-08* coreutils.texi: Fix some typos. Use `zeros' consistently (bothJim Meyering
`zeros' and `zeroes' are correct).
2006-07-01(tail invocation): With no operand, 'tail -f' nowPaul Eggert
silently ignores the '-f' only if standard input is a FIFO or pipe and POSIXLY_CORRECT is set.
2006-07-01(seq invocation): seq now uses long doublePaul Eggert
internally rather than double. It now defaults to a minimal fixed point format if possible. It lets you use %a, %A, %E, %F, %G. Don't assume printf doesn't work for numbers that fit in 64 but not 32 bits; typically they work these days. Improve discussion of large integers and update the rounding-error numbers.
2006-06-28(sort invocation): 'sort +1 -2' is now supportedPaul Eggert
even when conforming to POSIX 1003.1-2001, since this is a pure extension to POSIX.
2006-06-27* coreutils.texi (wc invocation): Remove ./ prefix from example.Jim Meyering
From Padraig Brady.
2006-06-26* coreutils.texi (wc invocation): Spell out `--files0-from' inJim Meyering
the example. Suggestion from Bob Proulx.
2006-06-26* coreutils.texi (wc invocation): Document new --files0-from option.Jim Meyering
2006-06-25(sleep invocation): Document that acceptingJim Meyering
multiple arguments and suffixes are extensions. Reported by Dan Jacobson.
2006-05-25Remove mention of --seed.Paul Eggert
2006-05-04(Examples of date): Give example of @seconds.Jim Meyering
2006-05-03(head invocation, tail invocation, sort invocation):Paul Eggert
Give advice about porting to hosts that support only obsolete syntax.
2006-04-23(Which files are listed): Describe new option: --group-directories-first.Jim Meyering
2006-04-17(What information is listed): Add P for SolarisPaul Eggert
10 ports. Add commented-out entries for other types that POSIX says are possible, or that I observed in FreeBSD documentation.
2006-04-17(Input processing in ptx): Remove mention of theJim Meyering
default --ignore file, /usr/local/lib/eign. That file has never been used. Reported by Eric Blake.
2006-04-13(What information is listed): Document 'ls' type letters.Paul Eggert
2006-04-12(expr invocation): expr exit status is 3 only forPaul Eggert
internal errors now; 2 is also for invalid values in expressions.
2006-04-09(Top): Fix typo in System context menu entry: hostid wasn't mentioned.Paul Eggert
2006-03-28(General options in ptx): Undocument --copyright.Jim Meyering
2006-03-27(dirname invocation): Macro in previous patch was too broad.Jim Meyering
2006-03-26(basename invocation, dirname invocation):Jim Meyering
Improve documentation to match recent // patches.
2006-03-23(nohup invocation): nohup now redirects stderr toPaul Eggert
nohup.out if stdout is closed and stderr is a tty.
2006-03-06(dd invocation): New flags directory, nolinks.Paul Eggert
Alphabetize nofollow.
2006-02-27Add base64 section.Jim Meyering
2006-02-21(join invocation): Mention `sort -k 1b,1'.Paul Eggert
2006-02-20(rm invocation): Fix typo in last patch.Jim Meyering
(paste invocation): Fix whitespace.
2006-02-20(rm invocation): Document new -I option, and new --interactive behavior.Jim Meyering
2006-02-12(Character sets): Don't say that an unknownJim Meyering
backslash-escape causes an error message -- it doesn't. Mention that `\' also removes any special significance, so is useful for [, ], *, -. Prompted by Richard Neill in http://savannah.gnu.org/bugs/index.php?func=detailitem&item_id=14937
2006-02-12(Character sets): Don't say that an unknownJim Meyering
backslash-escape causes an error message -- it doesn't.
2006-02-02(od invocation): Warn that -t a ignores the high order bit.Paul Eggert
2006-01-31(tail invocation): In the obsolete usage, thePaul Eggert
count is optional, so put square brackets around it.
2006-01-03Use @acronym around "ISO" uniformly.Paul Eggert
(Date conversion specifiers): Explain %g, %G, and %V a bit better.
2006-01-02(tail invocation): Say that --retryJim Meyering
is useful `mainly' (not `only') when following by name.
2006-01-02Update copyright year.Paul Eggert