08.13
12
12
GNU Coreutils 8.18
by admin ·
Jim Meyering (Jim Meyering) reported that 13 weeks of development has been prepared by a new stable release of GNU Coreutils 8.18
Bugs
- cksum prints the checksum is now atomic, so that the output of parallel processes do not stir (the error was present initially);
- date-d “$ (printf ‘\ xb0′)” now reports an error: hshdate: invalid date ‘\ 260′, rather than today’s displays 00:00:00 as in previous versions (bug was present initially);
- df now replaces control characters in the mount points on?. It may be convenient to use in scripts, counting on a certain order of transfer lines in the output of df (error originally present);
- df – total goes to the appropriate error message if the specified file system type (optional – type) does not correspond to the processed file system. The previous version of df worked without the error message:
$ touch /tmp/tes $ df --type=ext2 /tmp/test df: не обработано ни одной файловой системы $ echo $? 1 $ df --total --type=ext2 /tmp/test Файловая система 1K-блоков Использовано Доступно Использовано% Cмонтировано в total 0 0 0 - $ echo $? 0
This bug has been “added” in coreutils-7.0; - head – lines =-N (-nN) now resets the pointer to read the files with random access. This means that head-n-3 is no longer absorb the entire input stream, and the line is not derived head, can be handled by another program. For example, now it will print a 2, and had not published anything:
seq 2 > k; (head -n-1 > /dev/null; cat) < kAn error was present initially in the head;
- ls – color would mis-color relative-named symlinks in / [bug introduced in coreutils-8.17
- split now checks that the output file will not overwrite the input (the error was present initially);
- stat and df now correctly reflect the use of file systems to GNU / Linux, accurately determining the size of the block (df error is introduced in coreutils-5.0.91; in the stat is initially present);
- tail-f is no longer trying to use inotify when working with file systems, and AUFS PanFS
New features:
- stat-f recognizes file systems are now aufs and panfs
Changes in behavior
- Removed the program su. The program no longer installed by default. Util-linux package combines patches Fedora and Suse and good is going to Hurd. So it is no more reason to include su.
Improvements
- sort now avoids redundant work when no input or output. sort checks for these error conditions at startup, not after a long time;
- sort now uses a default of 75% of physical memory, it allows more efficient use of system resources (this value is changed from 50% to 100% in the version of coreutils 8-16).
