![]() |
|
||||
![]()
Generally I would rather create a while/readline loop, so the script will not end its work, like:
Code:
while : do echo "what: " read CHOICE case ${CHOICE} in (yes) # DO 1 ;; (no) # DO 2 ;; (exit|end) # END break (*) continue ;; esac done
__________________
religions, worst damnation of mankind "If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”. vermaden's: links resources deviantart spreadbsd |
|
||||
![]()
@fossala
Check these mate: http://bash.cyberciti.biz/guide/Menu_driven_scripts http://developer.apple.com/documenta...ShellScripting
__________________
religions, worst damnation of mankind "If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds Linux is not UNIX! Face it! It is not an insult. It is fact: GNU is a recursive acronym for “GNU's Not UNIX”. vermaden's: links resources deviantart spreadbsd |
![]() |
Tags |
shell |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
C: address of an int in an array in a struct? | xmorg | Programming | 3 | 18th April 2011 02:31 PM |
could not look up internet address for .lan | idefix | FreeBSD General | 2 | 31st January 2009 02:22 PM |
Static IP address problem | rex | FreeBSD General | 2 | 25th November 2008 08:53 PM |
MAC address to IP | rex | FreeBSD General | 9 | 11th November 2008 07:06 PM |
Asking about IPv6 address | berlowin | Off-Topic | 2 | 9th July 2008 02:39 AM |