mirror of
https://github.com/byReqz/stocheck.git
synced 2024-11-14 19:53:15 +00:00
change a cut in nvme section
This commit is contained in:
parent
0abe843c2f
commit
d9d31db309
@ -132,7 +132,7 @@ while [ -z "$1" ]; do
|
|||||||
argend="$(echo -e "\e[4mAttribute\e[0m|\e[4mValue\e[0m")"
|
argend="$(echo -e "\e[4mAttribute\e[0m|\e[4mValue\e[0m")"
|
||||||
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,3 | cut -c 2-)"
|
value="$(echo "$argse" | grep -e "$arg" | xargs | cut -d ':' -f 2- | cut -c 2-)"
|
||||||
argend=""$argend""
|
argend=""$argend""
|
||||||
done
|
done
|
||||||
echo "$(echo "$argend" | column -t -s "|")"
|
echo "$(echo "$argend" | column -t -s "|")"
|
||||||
|
Loading…
Reference in New Issue
Block a user