OT: sh Hicup
Jeff Harrison
jeffaharrison at yahoo.com
Tue Jan 24 07:33:42 PST 2006
[Fixed top post]
--- Doug Luurs <doug at borisch.com> wrote:
[Jeff Wrote]
> > Doug, have you considered using a case statement?
> It
> > would make this much easier to read and debug.
> How case formatted .. I mean I thought case was a
> one per line deal, or
> can I put multi 'case's on a line ?
>
You can have multi lines for each case. Here is an
example:
echo enter a number:
read i
case $i in
1) echo "one";;
2) echo "one"
echo "two";;
3) echo "one"
echo "two"
echo "three";;
*) echo "$i";;
esac
Jeff Harrison
jeffaharrison at yahoo.com
Author of JHExport and JHImport. The easiest and
fastest ways to generate code for filePro exports and imports.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Filepro-list
mailing list