Which I would like to compress into a single line to clarify theIt looks like this might be a multi option type menu, if it is you might want to change to a case statement as that's much neater (and you'd be able to get the options down to a single line each). Something like this (from my current coursework):
script. How would I achieve this...?
case "$INPUT" in "1" ) backupMenu ;; "2" ) restoreMenu ;; "3" ) exit ;; esac
Al - ---------------------------------------------------------------------- You can find the EdLUG mailing list FAQ list at: http://www.edlug.org.uk/list_faq.html
|
This archive is kept by wibble+RM@xxx.xxx.xxx Morpheux | HomePage |