From 89ea1c046df603eff95cfa00a8d7c358dfbc9428 Mon Sep 17 00:00:00 2001 From: Nils Date: Sat, 22 May 2021 22:31:26 +0200 Subject: [PATCH] fix nvme parsing issues --- hash | 1 - stocheck.sh | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 hash diff --git a/hash b/hash deleted file mode 100644 index 6c4f6e2..0000000 --- a/hash +++ /dev/null @@ -1 +0,0 @@ -64df6573e61b05dc852137f3459b0b43 diff --git a/stocheck.sh b/stocheck.sh index 79d6f21..229eefe 100755 --- a/stocheck.sh +++ b/stocheck.sh @@ -133,7 +133,8 @@ while [ -z "$1" ]; do 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- | cut -c 2-)" - argend=""$argend"" + argend=""$argend" +"$arg"|"$value"" done echo "$(echo "$argend" | column -t -s "|")" echo ""