Release of GNU Coreutils 9.12

The stable version of the GNU Coreutils 9.12 basic system utilities is now available, which includes programs such as sort, cat, chmod, chown, chroot, cp, date, dd, echo, hostname, id, ln, and ls.

Key innovations:

  • The env utility has added the option ‘—env0-from=FILE’ to load a list of environment variables from a file, which can also be used to filter existing environment variables with a command like ‘env -i —env0-from=< ( env -0 | sed -z … )’. The utility printenv can be used to save the state of the environment variables to a file.

    In the commands ‘env’, ‘printenv’, ‘stat’, ‘basename’, ‘dirname’, ‘du’, ‘readlink’, and ‘realpath’, special characters are now escaped in terminal output according to the style set by the QUOTING_STYLE environment variable (%N, %Qn or %n). This escaping has been added to protect against manipulation of the terminal's content and state through special character substitution.

  • In the utilities ‘df’, ‘du’, ‘ls’, ‘od’, ‘pr’, and ‘sort’, problematic options are now escaped in error messages.
  • In the command ‘ls -m’, commas in file names are now escaped.
  • The utilities ‘chcon’, ‘chgrp’, ‘chmod’, ‘chown’, ‘du’, and ‘ls’ no longer terminate with an error when performing recursive operations with the ‘-R’ option in cases of concurrent deletion of files in processed directories.
  • The sort utility has been optimized for memory consumption and for executing parallel operations when reading data of unknown size, such as when transferring data through unnamed pipes.
  • Optimization has been made in the ‘cut -w’ command for determining the start of a line, allowing throughput to increase by up to 4 times when using locales with multibyte encodings.
  • The ‘uniq -c’ command has been accelerated by up to 2.5 times on systems with non-blocking stdio functions.
  • A build option ‘—with-wtmpdb’ has been added, which, when running the commands ‘who /var/log/wtmp’ and ‘users /var/log/wtmp’, uses a database in wtmpdb format instead of the file /var/log/wtmp.

Source: opennet.ru

Buy reliable website hosting with DDoS protection, VPS VDS servers 🔥 Buy reliable website hosting with DDoS protection, VPS VDS servers | ProHoster