Cleaning the name of Device
This commit is contained in:
parent
7c86451e5f
commit
1918adb9c6
@ -156,7 +156,7 @@ do
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
OUTDEV=$(echo "$RESULT" | awk -F: '{print $1}')
|
OUTDEV=$(echo "$RESULT" | awk -F: '{print $1}')
|
||||||
OUTMODEL=$(echo "$RESULT" | awk -F: '{print $2}' | tr -cd '[:print:]')
|
OUTMODEL=$(echo "$RESULT" | awk -F: '{print $2}' | tr -cd '[:print:]' | tr -s ' ' ' ' )
|
||||||
OUTTEMP=$(echo "$RESULT" | awk -F: '{print $3}')
|
OUTTEMP=$(echo "$RESULT" | awk -F: '{print $3}')
|
||||||
OUTTEMPCLEAN=$(echo "$OUTTEMP" | tr -dc '0-9')
|
OUTTEMPCLEAN=$(echo "$OUTTEMP" | tr -dc '0-9')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user