while ];
do
echo "ID format - 000-000-000"
read -p "Enter Name: " usrnme
read -p "Enter ID: " id
if echo $usrnme | grep "^" > /dev/null
then
vrfy="true"
else
until ;
do
... (2 Replies)
ls /etc/init.d/rc4.d/ | while read FILE
do
tput smso
echo -n `expr "$FILE" : '\(S.*$\)'`
tput rmso
echo `expr "$FILE" : '\(K.*$\)'`
done
this is part of my code
i feel that i can simplify this even more but not sure (1 Reply)