Basically looking for a string that contains an asterisk, looked all around for one that relates to an until loop but to no avail!
e.g. the user would basically keep typing in strings and the program will reject them until one that has an asterisk pops up.
then at this point it will echo a message [cant go into details sorry]
code:
until [ "string" == "[asteriskstuff]" ]
do
echo "just give me a string with an asterisk for crying out loud"
read "string"
done
when the user stops inputting hi and then decides to input hi* it will then show the echo message basically I just want to bypass the bleedin' asterisk because [asteriskstuff] is the area where I always falter!
all help appreciated!
SUMMARY: How can I bypass an asterisk in a simple way for an until loop?