From d9d31db309434bbfbaebda447780e2f209d3d484 Mon Sep 17 00:00:00 2001 From: Nils Date: Sat, 15 May 2021 20:59:16 +0200 Subject: [PATCH] change a cut in nvme section --- stocheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stocheck.sh b/stocheck.sh index 5a672d5..e0d18d8 100755 --- a/stocheck.sh +++ b/stocheck.sh @@ -132,7 +132,7 @@ while [ -z "$1" ]; do argend="$(echo -e "\e[4mAttribute\e[0m|\e[4mValue\e[0m")" for ((z=1;z<=argsm;z++)); do 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"" done echo "$(echo "$argend" | column -t -s "|")"