Something
public text v1 · immutableOLDIFS="$IFS"
IFS=' '
for WORD in $(cat /proc/cmdline)
do
IFS="$OLDIFS"
if [ "${WORD:0:5}" == "uuid=" ]
then
VALUE="${WORD:5}"
..
fi
done
IFS="$OLDIFS"
OLDIFS="$IFS"
IFS=' '
for WORD in $(cat /proc/cmdline)
do
IFS="$OLDIFS"
if [ "${WORD:0:5}" == "uuid=" ]
then
VALUE="${WORD:5}"
..
fi
done
IFS="$OLDIFS"