mirror of
https://github.com/coreutils/coreutils.git
synced 2024-11-28 12:35:36 +08:00
64 lines
3.2 KiB
Plaintext
64 lines
3.2 KiB
Plaintext
[4.5.5]
|
|
* ls dangling-symlink now prints `dangling-symlink'.
|
|
Before, it would fail with `no such file or directory'
|
|
* ls -s symlink and ls -i symlink now print attributes of `symlink', rather
|
|
than attributes of their referents
|
|
* shred's --zero (-z) option no longer gobbles up any following string
|
|
Before, `shred --zero file' would produce `shred: missing file argument',
|
|
and worse, `shred --zero f1 f2 ...' would appear to work, but would leave
|
|
the first file untouched.
|
|
* readlink: new program
|
|
* cut: new feature: when used to select ranges of byte offsets (as opposed
|
|
to ranges of fields) and when --output-delimiter=STRING is specified,
|
|
output STRING between ranges of selected bytes.
|
|
* rm -r can no longer be tricked into mistakenly reporting a cycle.
|
|
* when rm detects a directory cycle, it no longer aborts the entire command,
|
|
but rather just the affected command line argument.
|
|
|
|
[4.5.4]
|
|
* cp no longer fails to parse options like this: --preserve=mode,ownership
|
|
* `ls --color -F symlink-to-dir' works properly
|
|
* ls is much more efficient on directories with valid dirent.d_type.
|
|
* stty supports all baud rates defined in linux-2.4.19.
|
|
* `du symlink-to-dir/' would improperly remove the trailing slash
|
|
* `du ""' would evoke a bounds violation.
|
|
* In the unlikely event that running `du /' resulted in `stat ("/", ...)'
|
|
failing, du would give a diagnostic about `' (empty string) rather than `/'.
|
|
* printf: a hexadecimal escape sequence has at most two hex. digits, not three.
|
|
* The following features have been added to the --block-size option
|
|
and similar environment variables of df, du, and ls.
|
|
- A leading "'" generates numbers with thousands separators.
|
|
For example:
|
|
$ ls -l --block-size="'1" file
|
|
-rw-rw-r-- 1 eggert src 47,483,707 Sep 24 23:40 file
|
|
- A size suffix without a leading integer generates a suffix in the output.
|
|
For example:
|
|
$ ls -l --block-size="K"
|
|
-rw-rw-r-- 1 eggert src 46371K Sep 24 23:40 file
|
|
* ls's --block-size option now affects file sizes in all cases, not
|
|
just for --block-size=human-readable and --block-size=si. Fractional
|
|
sizes are now always rounded up, for consistency with df and du.
|
|
* df now displays the block size using powers of 1000 if the requested
|
|
block size seems to be a multiple of a power of 1000.
|
|
* nl no longer gets a segfault when run like this `yes|nl -s%n'
|
|
|
|
[4.5.3]
|
|
* du --dereference-args (-D) no longer fails in certain cases
|
|
* `ln --target-dir=DIR' no longer fails when given a single argument
|
|
|
|
[4.5.2]
|
|
* `rm -i dir' (without --recursive (-r)) no longer recurses into dir
|
|
* `tail -c N FILE' now works with files of size >= 4GB
|
|
* `mkdir -p' can now create very deep (e.g. 40,000-component) directories
|
|
* rmdir -p dir-with-trailing-slash/ no longer fails
|
|
* printf now honors the `--' command line delimiter
|
|
* od's 8-byte formats x8, o8, and u8 now work
|
|
* tail now accepts fractional seconds for its --sleep-interval=S (-s) option
|
|
|
|
[4.5.1]
|
|
* du and ls now report sizes of symbolic links (before they'd always report 0)
|
|
* uniq now obeys the LC_COLLATE locale, as per POSIX 1003.1-2001 TC1.
|
|
|
|
This package is the union of the following:
|
|
textutils-2.1, fileutils-4.1.11, sh-utils-2.0.15.
|