mirror of
https://github.com/byReqz/stocheck.git
synced 2024-11-22 14:41:15 +00:00
fix nvme parsing issues
This commit is contained in:
parent
7f55e0e56f
commit
89ea1c046d
@ -133,7 +133,8 @@ while [ -z "$1" ]; do
|
|||||||
for ((z=1;z<=argsm;z++)); do
|
for ((z=1;z<=argsm;z++)); do
|
||||||
arg="$(echo "$argsl" | sed -n "$z"p)"
|
arg="$(echo "$argsl" | sed -n "$z"p)"
|
||||||
value="$(echo "$argse" | grep -e "$arg" | xargs | cut -d ':' -f 2- | cut -c 2-)"
|
value="$(echo "$argse" | grep -e "$arg" | xargs | cut -d ':' -f 2- | cut -c 2-)"
|
||||||
argend=""$argend""
|
argend=""$argend"
|
||||||
|
"$arg"|"$value""
|
||||||
done
|
done
|
||||||
echo "$(echo "$argend" | column -t -s "|")"
|
echo "$(echo "$argend" | column -t -s "|")"
|
||||||
echo ""
|
echo ""
|
||||||
|
Loading…
Reference in New Issue
Block a user