📄 news
字号:
* Fix cp so that `cp -r DIR1/ DIR2' works properly once again.* New ls option --quoting-style=clocale acts like --quoting-style=locale, except that it quotes "like this" by default instead of `like this'.[4.0w]* When `cp -pR' fails to copy a file, it now preserves permissions, owner, and group of the containing directory.[4.0v]* df, du, and ls now round disk usage up and disk free space down* df, du, ls: --block-size=N now works for values of N that are e.g., not a multiple of the file's block size[4.0u]* give proper diagnostic for mv usage error* fix compile problem with lib/strnlen.c[4.0t]* `cp -d -u' no longer fails with certain existing destination symlinks* rmdir and mkdir accept -v as synonym for --verbose[4.0s]* rm no longer segfaults on certain very deep hierarchies* IMPORTANT SECURITY FIX: a running `rm -r' may no longer be subverted to remove unintended directories* cp can now remove unwritable files in interactive mode; contrary to how mv works, cp's --interactive (-i) option does *not* cancel the effect of a preceding --force (-f) option.* all programs fail when printing --help or --version output to a full device* install no longer performs chmod if chown fails (see ChangeLog for example)[4.0r]* `du dir/subdir1 dir/subdir2' no longer fails* chown accepts new option: --from=CURRENT_OWNER:CURRENT_GROUP* cp accepts new option: --strip-trailing-slashes* install --directory (-d) may now be used to set special bits e.g., `install -m a=rwx,o+t -d DIR' now honors the `o+t' part* cp, mv, ln, install: document that while the --backup option takes an optional argument, the -b option accepts none* `ls -e' fails with a more useful diagnostic* df produces better output for loop file system mount points[4.0q]* install -D bug is fixed* chown now works properly when the specified login name contains a period This is at the expense of always looking up the entire USER.GROUP string as a login name first, and only then (upon failure) interpreting the `.' as a separator and looking up `USER'. To avoid the extra getpwnam call, always use the POSIX-mandated `:' character as the separator.* `du some-other-dir' no longer fails if it can't open the current directory* `mv DIR EXISTING-FILE' no longer removes EXISTING-FILE. Now it gets an error as POSIX says it must.* touch no longer hangs on fifos[4.0p]* various tools: quote multibyte characters correctly in diagnostics* mv: portability fix for alpha* dd: portability fix* unified lib/: now that directory and most of the configuration framework is common between fileutils, textutils, and sh-utils[4.0o]* Include lib/nanosleep.h.[4.0n]* cp, install, ln, and mv: when making backup files in verbose mode, these commands now print the backup file name on the same line as the rest of the information, e.g., `a -> b (backup: b.~13~)' rather than on a separate line as all but ln used to do. ln didn't output the backup file name at all.[4.0m]* mv accepts new option: --strip-trailing-slashes (soon, many other programs will, too)* df no longer hangs when there is an inaccessible mount point unrelated to PATH* rmdir --verbose no longer prints extra, bogus diagnosic upon failure* fix df bug that made it print bogus values in the `Use%' column.* touch -d once again parses dates with `hh:mm ZONE' time zone info.[4.0l]* ls -l honors a trailing slash on a symlink argument, per POSIX.* shred no longer appears to infloop when asked to remove files in unwritable directories* `ls -ul' and `ls -uc' sort by name once again, as they should[4.0k]* mv may now be used to move a file onto a symlink to itself when that symlink is on a separate partition. With fileutils-4.0j, it would fail with a diagnostic saying they were the same file.* touch would fail with the misleading diagnostic `no such file' when asked to create a file in an unwritable directory. Now it says something like `permission denied' or `read-only file system'.[4.0j]* mkdir may now be used to set special bits e.g., `mkdir -m o+t dir' works* touch can now change the time(s) of a file you own even if you don't have read or write access to it* rm no longer dumps core after warning about directory cycles* mv now refuses to move a file onto a symlink to itself when that symlink is on a separate partition. Before, it would remove the file and leave only the symlink.* `install -d -g foo 1/2' now sets the `group' of the final component as well as that of the leading one.* df, du, and ls no longer divide by zero when an invalid block size is specified through an environment variable* under certain conditions, chgrp would fail to affect files referenced through symlinks. Now it does.* ln now makes hard links to symlinks on systems that support it.* touch: no longer infloop on dangling symlinks* cp, install, ln, mv: deprecate the --version-control option. Use --backup's new optional argument instead. The old option still works, but now evokes a warning.* cp, install, ln, mv: the --backup option now accepts an optional argument* cp, install, ln, mv: accept new option: --target-directory=DIR* chgrp: accept new option, --dereference. --no-dereference is now the default.* New ls option --quoting-style=locale acts like --quoting-style=c, except with locale-specific quoting symbols (` and ' by default) instead of ".* `df DIR' is less likely to hang due to bad NFS mounts* As per POSIX.2, `df -P' now uses ceiling rather than rounding, and its header now says `1024-blocks ... Capacity' instead of `1k-blocks ... Use%'.[4.0i]* `cp -f FILE FILE' and `mv -f FILE FILE' no longer remove FILE* touch works once again (DST-wise) when certain `--date DATE-TIME' values are specified.* shred's -u option (short form of --remove) is now accepted[4.0h]* cp --one-file-system (-x) no longer crosses filesystem boundaries.* touch can once again operate on directories[4.0g]* New large-file support for AIX and HP-UX, and for cross-compiles.* shred's default options are now suitable for devices, not files, since shred is more reliable on devices. shred now does not remove by default; the old -p or --preserve option was inverted and renamed to -u or --remove.* shred -u now attempts to truncate devices before removing them.* shred -v no longer outputs carriage-returns; shred -vv has no extra effect; shred -v now outputs to stderr.* shred now tries to find the size of a non-regular file by seeking to its end.* dd now opens the output file for *read* access only if `seek=' is used.[4.0f]* `ls --color' no longer segfaults* dd works once again[4.0e]* shred --devices option renamed to -D so that -d, -i and -r can be compatible with rm.* shred -s/--size=N option added to specify the size of the object to be shredded.* `shred -' now shreds stdout rather than stdin. This is incompatible with -v.* shred now does not need to read from its output file, so opens it O_WRONLY* `ls -l' uses `+' to designate each file that has a custom ACL* eliminate race condition that could make touch truncate a nonempty file* No longer use *_unlocked I/O macros on systems (like solaris5.5.1) where they're not declared, so selected executables (e.g., rm) that are linked with shared libraries will once again run on solaris5.6 systems.[4.0d (aka 4.1-b3)]* ls recognizes solaris 2 `doors'* new program: shred* ln: Allow creation of a hard link to a dangling symlink* cp, mv, install: --verbose now prints a message for each backup-related renaming* portability fixes for copy.c's code to detect move-directory-into-self* upgrade to automake-1.3b* upgrade to autoconf-2.13, and...* remove some of the kludges in m4/*.m4 that permitted[4.1-b2]* concurrent `mkdir -p' processes no longer fail when creating the same hierarchy* argmatch.c has been fixed so that the unambiguous usage `ls --color=n' no longer evokes an error.* now, specifying an improper argument for an option that accepts enumerated values evokes diagnostics like this: $ src/touch --time=x file src/touch: invalid argument `x' for `--time' Valid arguments are: - `atime', `access', `use' - `mtime', `modify' Try `src/touch --help' for more information.[4.1-b1]* ls --quoting-style=c prints correct octal escapes for certain nonprinting characters in file names.* fix `ls -R .' formatting bug that broke mktexlsr* moving a directory into itself is properly diagnosed in more cases* moving a directory containing hard-linked files now worksChanges in release 4.0:[4.0-b7]* rm -rf '' no longer gets a failed assertion on the Hurd[4.0-b6]* rm simply fails as it should (rather than segfaulting) for `mkdir -m 0100 x; rm -rf x'[4.0-b5]* still *more* mktime.c portability tweaks[4.0-b4]* mktime.c portability tweak for headers with GNU libc 5.4.44.[4.0-b3]* mktime.c works around problems with Digital Unix 4.0A and 4.0D.* mktime.c handles dates in the spring-forward gap the same way other implementations do* install accepts long option --suffix=SUFFIX[4.0-b2]* man/Makefile.maint framework tweaks* add test for `mv -i' bug[4.0-pre1]* fix serious bug whereby `touch a b; echo n|mv -i a b' would remove b.[3.16z]* portability tweaks* avoid `root `cp -a' from Netapp snapshot' corruption[3.16y]* `install -D' now works* distribute maintainer Makefiles in man/[3.16x]* man pages are now automatically generated from a combination of --help output and the contents of new (though mostly empty), man/*.x files.[3.16w]* touch now interprets `-t TIME-DATE' as POSIX specifies* `ls EMPTY-DIR EMPTY-DIR' once again outputs the directory names[3.16v]* portability fixes* `ls -R EMPTY-DIR' now outputs the name of the directory[3.16u]* mv now fails (as it should) upon attempt to move a directory into itself* `cp -a --one-file-system' now copies any mount point directories it encounters on the selected file system.[3.16t]* cp (with --update) and ls compare time stamps with subsecond resolution when available (e.g., on systems with recent Linux kernels and on Solaris 2.6).* install once again does the -m-specified chmod *after* running strip (this fixes another bug introduced in 3.16o)[3.16s]* df accept a new option --local (-l)* touch works around a system-specific bug so it now affects existing, zero-length files on certain systems* chown now works even on certain SVR3 systems where it used to fail[3.16r]* include gettext's m4 macros* minor cp bug fixed* non-portable cp tests removed* --without-included-regex now means don't compile regex.c* rx support removed[3.16q]* `df', `du', and `ls' now accept a new option --block-size=SIZE, where SIZE can be a positive integer block size, followed by an optional SI prefix (e.g. `k' for kilo, `M' for Mega), followed by an optional `B' (for ``byte'', indicating powers of 1024, which is the default) or `D' (for ``decimal byte'', indicating powers of 1000). SIZE can also be `human-readable' (for -h or --human-readable behavior) or `si' (for -H or --si behavior).* These suffixes can also be used by `dd'; e.g. `dd bs=1MB' is equivalent to `dd bs=1048576'.* The default block size for the `df' command is now obtained from the DF_BLOCK_SIZE environment variable or, if that is not set, from BLOCK_SIZE. Similarly for `du' and `ls'.* The output columns of `df' have been adjusted slightly to accommodate larger filesystems.* fix gettext-related link failures seen when configuring certain ways[3.16p]* fix install bug introduced in 3.16o* build/test changes only[3.16o]* chown accepts new option, --dereference. --no-dereference is now the default.* install now shares core copying code with mv and cp* mv (between distinct filesystems) now uses more of the core copying code* fixed a bug or two in mv* df once again displays negative numbers when that's what's returned by get_fs_usage
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -