The GNU Core Utilities package has reached version 9.12, introducing improvements for system scripting and virtual filesystem support. Announced by maintainer Pádraig Brady, this release is the product of 21 weeks of development, incorporating 288 commits from 16 contributors.

The most notable feature is the new -A flag for the uname command. When used, it provides an annotated output where each piece of information is explicitly labeled. For instance, instead of just listing the kernel name, version, and hardware type on separate lines, it will clearly tag each field. This labeled format is a significant boon for scripting and automation, eliminating the common need to manually parse and label uname output in shell scripts.

The update also adds filesystem awareness for virtual filesystems in coreutils. Tools such as stat and tail can now correctly identify and interact with mounts from failfs and nullfs.

As reported by LWN.net, these additions exemplify the high-impact, incremental maintenance model that sustains foundational open-source software. For system administrators and developers, adopting coreutils 9.12 can lead to more robust scripts and streamlined testing processes.


GNU 核心工具套件現已推出 9.12 版本,為系統腳本編寫與虛擬檔案系統支援帶來改進。維護者 Pádraig Brady 公布,此版本歷經 21 週開發週期,整合了來自 16 位貢獻者的 288 個提交。

最矚目的功能是 uname 指令新增的 -A 標誌。啟用後將提供附帶註釋的輸出,每項資訊均會明確標示。例如,它不會僅將核心名稱、版本及硬體類型分行列出,而是會清晰標註每個欄位。這種帶有標籤的格式極大便利了腳本編寫與自動化作業,消除了在 Shell 腳本中常見需手動解析及標註 uname 輸出的需求。

此次更新同時為核心工具增加了對虛擬檔案系統的認知能力。stattail 等工具現可正確識別並與 failfsnullfs 的掛載點互動。

據 LWN.net 報導,這些新增功能體現了維護基礎開源軟件的高影響力、漸進式維護模式。對於系統管理員及開發人員而言,採用 coreutils 9.12 可編寫出更穩健的腳本,並優化測試流程。

新聞來源 / Original News Source