mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
dbginfo.sh: sort list of environment variables for readability
The "detour" with NUL terminated records ensures that sorting works as expected for environment variables with values containing one or more lines and thus '\n' as regular record separator. Reviewed-by: Joern Siglen <siglen@de.ibm.com> Signed-off-by: Steffen Maier <maier@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
d311506dc4
commit
1bd64f5b0f
@@ -13,6 +13,7 @@ Release history for s390-tools (MIT version)
|
||||
- chreipl-fcp-mpath: bundle a pre-cooked version of the manpage for
|
||||
build environments without access to `pandoc`
|
||||
- dbginfo.sh: Add multipath info to map paths to FC addressing and prio group
|
||||
- dbginfo.sh: Sort list of environment variables for readability
|
||||
|
||||
Bug Fixes:
|
||||
|
||||
|
||||
@@ -427,7 +427,7 @@ CMDS="uname -a\
|
||||
:systemctl --all --no-pager list-unit-files\
|
||||
:systemd-delta\
|
||||
:ulimit -a\
|
||||
:env\
|
||||
:env --null | sort --zero-terminated | tr '\000' '\n'\
|
||||
:find /boot -print0 | sort -z | xargs -0 -n 10 ls -ld\
|
||||
:find /var/crash -print0 | sort -z | xargs -0 -n 10 ls -ld\
|
||||
:df -h\
|
||||
|
||||
Reference in New Issue
Block a user