GNU Coreutils 9.9: Fixes and Updates for Essential Tools
- GNU Coreutils, the foundational set of file, shell, and text utilities for GNU-based systems, has been updated to version 9.9.
- The numfmt utility now includes the --unit-separator option.
- Several utilities now exit promptly upon encountering write errors.
Coreutils 9.9 Released wiht Improved Functionality and Reliability
Table of Contents
Published: November 11, 2023, 13:39:20 UTC
What’s New in Coreutils 9.9?
GNU Coreutils, the foundational set of file, shell, and text utilities for GNU-based systems, has been updated to version 9.9. This release introduces a new feature for the numfmt utility and enhances the reliability and performance of several core tools.
Enhanced numfmt Utility
The numfmt utility now includes the --unit-separator option. This allows users to specify a character to be placed between the numerical value and its unit, providing greater control over output formatting. Such as, this can improve readability when displaying values with units like “100 MB” instead of “100MB”.
Improved Reliability and Error Handling
Several utilities now exit promptly upon encountering write errors. This enhancement affects fmt, date, nl, and pr. This immediate exit is notably beneficial when processing large datasets or continuous data streams, preventing potential data corruption or unexpected behavior. Previously, these utilities might have continued processing despite a write error, leading to incomplete or inaccurate results.
Modernized Process Handling
The install, sort, and split utilities have been updated to utilize posix_spawn() for process creation. posix_spawn() offers improved process handling capabilities compared to older methods,possibly leading to better resource management and security.
Performance Boost for wc -l
Systems equipped with AVX512 support will experience approximately a ten percent speed increase when using the wc -l command (word count, lines). This performance gain is due to optimizations leveraging the AVX512 instruction set, which allows for parallel processing of data.
Availability
Coreutils 9.9 is available for free download from the GNU website. Users can obtain the source code and pre-compiled binaries for various platforms.
