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 "|")"