[PATCH v5 2/2] workflows, scripts: sort ver_linux and changes.rst

Manuel Ebner
2026-03-25T19:48:55Z

sort output of scripts/ver_linux alphabetically
sort list in changes.rst alphabetically

Signed-off-by: Manuel Ebner <manuelebner@mailbox.org>
---
Documentation/process/changes.rst | 52 ++++++++++++-------------
scripts/ver_linux | 64 +++++++++++++++----------------
2 files changed, 58 insertions(+), 58 deletions(-)

diff --git a/Documentation/process/changes.rst b/Documentation/process/changes.rst
index d94503341254..6ba9ca928e49 100644
--- a/Documentation/process/changes.rst
+++ b/Documentation/process/changes.rst
@@ -30,41 +30,41 @@ you probably do not need to concern yourself with pcmciautils.
====================== =============== ========================================
Program Minimal version Command to check the version
====================== =============== ========================================
-GNU C 8.1 gcc --version
-Clang/LLVM (optional) 15.0.0 clang --version
-Rust (optional) 1.78.0 rustc --version
-bindgen (optional) 0.65.1 bindgen --version
-GNU make 4.0 make --version
bash 4.2 bash --version
+bc 1.06.95 bc --version
+bindgen (optional) 0.65.1 bindgen --version
binutils 2.30 ld -v
-flex 2.5.35 flex --version
bison 2.0 bison --version
-pahole 1.22 pahole --version
-util-linux 2.10o mount --version
-kmod 13 kmod -V
+btrfs-progs 0.18 btrfs --version
+Clang/LLVM (optional) 15.0.0 clang --version
e2fsprogs 1.41.4 e2fsck -V
+flex 2.5.35 flex --version
+gdb 7.2 gdb --version
+GNU awk (optional) 5.1.0 gawk --version
+GNU C 8.1 gcc --version
+GNU make 4.0 make --version
+GNU tar 1.28 tar --version
+GRUB 0.93 grub --version || grub-install --version
+gtags (optional) 6.6.5 gtags --version
+iptables 1.4.2 iptables -V
jfsutils 1.1.3 fsck.jfs -V
-xfsprogs 2.6.0 xfs_db -V
-squashfs-tools 4.0 mksquashfs -version
-btrfs-progs 0.18 btrfs --version
+kmod 13 kmod -V
+mcelog 0.6 mcelog --version
+mkimage (optional) 2017.01 mkimage --version
+nfs-utils 1.0.5 showmount --version
+openssl & libcrypto 1.0.0 openssl version
+pahole 1.22 pahole --version
pcmciautils 004 pccardctl -V
-quota-tools 3.09 quota -V
PPP 2.4.0 pppd --version
-nfs-utils 1.0.5 showmount --version
procps 3.2.0 ps --version
-udev 081 udevadm --version
-GRUB 0.93 grub --version || grub-install --version
-mcelog 0.6 mcelog --version
-iptables 1.4.2 iptables -V
-openssl & libcrypto 1.0.0 openssl version
-bc 1.06.95 bc --version
-Sphinx\ [#f1]_ 3.4.3 sphinx-build --version
-GNU tar 1.28 tar --version
-gtags (optional) 6.6.5 gtags --version
-mkimage (optional) 2017.01 mkimage --version
Python 3.9.x python3 --version
-GNU awk (optional) 5.1.0 gawk --version
-gdb 7.2 gdb --version
+quota-tools 3.09 quota -V
+Rust (optional) 1.78.0 rustc --version
+Sphinx\ [#f1]_ 3.4.3 sphinx-build --version
+squashfs-tools 4.0 mksquashfs -version
+udev 081 udevadm --version
+util-linux 2.10o mount --version
+xfsprogs 2.6.0 xfs_db -V
====================== =============== ========================================

.. [#f1] Sphinx is needed only to build the Kernel documentation
diff --git a/scripts/ver_linux b/scripts/ver_linux
index fab0c68a6c52..00bdaf30d590 100755
--- a/scripts/ver_linux
+++ b/scripts/ver_linux
@@ -17,58 +17,58 @@ BEGIN {
libc = "libc[.]so[.][0-9]+$"
libcpp = "(libg|stdc)[+]+[.]so([.][0-9]+)+$"

- printversion("GNU C", version("gcc -dumpversion"))
- printversion("GNU make", version("make --version"))
- printversion("binutils", version("ld -v"))
- printversion("util-linux", version("mount --version"))
- printversion("Mount", version("mount --version"))
- printversion("Module-init-tools", version("depmod -V"))
- printversion("e2fsprogs", version("e2fsck -V"))
- printversion("jfsutils", version("fsck.jfs -V"))
- printversion("xfsprogs", version("xfs_db -V"))
- printversion("pcmciautils", version("pccardctl -V"))
- printversion("Pcmcia-cs", version("cardmgr -V"))
- printversion("quota-tools", version("quota -V"))
- printversion("PPP", version("pppd --version"))
- printversion("Isdn4k-utils", version("isdnctrl"))
- printversion("nfs-utils", version("showmount --version"))
- printversion("bison", version("bison --version"))
- printversion("flex", version("flex --version"))
-
- while ("ldconfig -p 2>/dev/null" | getline > 0)
- if ($NF ~ libc || $NF ~ libcpp)
- if (!seen[ver = version("readlink " $NF)]++)
- printversion("Linux C" ($NF ~ libcpp? "++" : "") " Library", ver)
-
- printversion("Dynamic linker (ldd)", version("ldd --version"))
- printversion("procps", version("ps --version"))
- printversion("Net-tools", version("ifconfig --version"))
- printversion("Kbd", version("loadkeys -V"))
- printversion("Console-tools", version("loadkeys -V"))
- printversion("Sh-utils", version("expr --v"))
- printversion("udev", version("udevadm --version"))
- printversion("Wireless-tools", version("iwconfig --version"))
printversion("bash", version("bash --version"))
printversion("bc", version("bc --version"))
printversion("bindgen", version("bindgen --version"))
+ printversion("binutils", version("ld -v"))
+ printversion("bison", version("bison --version"))
printversion("btrfs-progs", version("btrfs --version"))
printversion("Clang", version("clang --version"))
+ printversion("Console-tools", version("loadkeys -V"))
+ printversion("Dynamic linker (ldd)", version("ldd --version"))
+ printversion("e2fsprogs", version("e2fsck -V"))
+ printversion("flex", version("flex --version"))
printversion("gdb", version("gdb -version"))
printversion("GNU awk", version("gawk --version"))
+ printversion("GNU C", version("gcc -dumpversion"))
+ printversion("GNU make", version("make --version"))
printversion("GNU tar", version("tar --version"))
- printversion("GRUB", version("grub-install --version"))
printversion("GRUB2", version("grub2-install --version"))
+ printversion("GRUB", version("grub-install --version"))
printversion("gtags", version("gtags --version"))
printversion("iptables", version("iptables -V"))
+ printversion("Isdn4k-utils", version("isdnctrl"))
+ printversion("jfsutils", version("fsck.jfs -V"))
+ printversion("Kbd", version("loadkeys -V"))
printversion("kmod", version("kmod -V"))
+
+ while ("ldconfig -p 2>/dev/null" | getline > 0)
+ if ($NF ~ libc || $NF ~ libcpp)
+ if (!seen[ver = version("readlink " $NF)]++)
+ printversion("Linux C" ($NF ~ libcpp? "++" : "") " Library", ver)
+
printversion("mcelog", version("mcelog --version"))
printversion("mkimage", version("mkimage --version"))
+ printversion("Module-init-tools", version("depmod -V"))
+ printversion("Mount", version("mount --version"))
+ printversion("Net-tools", version("ifconfig --version"))
+ printversion("nfs-utils", version("showmount --version"))
printversion("openssl", version("openssl version"))
printversion("pahole", version("pahole --version"))
+ printversion("Pcmcia-cs", version("cardmgr -V"))
+ printversion("pcmciautils", version("pccardctl -V"))
+ printversion("PPP", version("pppd --version"))
+ printversion("procps", version("ps --version"))
printversion("Python", version("python3 -V"))
+ printversion("quota-tools", version("quota -V"))
printversion("Rust", version("rustc --version"))
+ printversion("Sh-utils", version("expr --v"))
printversion("Sphinx", version("sphinx-build --version"))
printversion("squashfs-tools", version("mksquashfs -version"))
+ printversion("udev", version("udevadm --version"))
+ printversion("util-linux", version("mount --version"))
+ printversion("Wireless-tools", version("iwconfig --version"))
+ printversion("xfsprogs", version("xfs_db -V"))

while ("sort /proc/modules" | getline > 0) {
mods = mods sep $1
--
2.53.0