corsasport.co.uk
 

Corsa Sport » Message Board » General Chat » Unix Shell Script help


New Topic

New Poll
  Subscribe | Add to Favourites

You are not logged in and may not post or reply to messages. Please log in or create a new account or mail us about fixing an existing one - register@corsasport.co.uk

There are also many more features available when you are logged in such as private messages, buddy list, location services, post search and more.


Author Unix Shell Script help
RS6
Member

Registered: 5th Nov 03
Location: with MJ
User status: Offline
25th Apr 06 at 12:21   View User's Profile U2U Member Reply With Quote

Need a bit of help with a loop trying to get it so if a user enters wrong details it loops back

echo “Please enter your firstname”
read Name
echo "Please enter surname"
read surname

can anybody help me from here

echo "is the above information correct press 1 for yes and 2 for no"
???

how do i get it 2 work anyone




[Edited on 25-04-2006 by RS6]
ed
Member

Registered: 10th Sep 03
User status: Offline
25th Apr 06 at 12:34   View User's Profile U2U Member Reply With Quote

Geek Day
Brett
Premium Member

Avatar

Registered: 16th Dec 02
Location: Manchester
User status: Offline
25th Apr 06 at 12:36   View Garage View User's Profile U2U Member Reply With Quote

Sounds liek you're a bit out of your depth, you're stuck on the first hurdle
Steve
Premium Member

Avatar

Registered: 30th Mar 02
Location: Worcestershire Drives: Defender
User status: Offline
25th Apr 06 at 12:42   View Garage View User's Profile U2U Member Reply With Quote

geek day

 
New Topic

New Poll

Corsa Sport » Message Board » General Chat » Unix Shell Script help 23 database queries in 0.0052650 seconds