Xy|Xye|Xyes) bourne shell "case" style
Danny
danny at itm.UUCP
Sun Apr 29 00:11:44 AEST 1984
:::::::::::
Instead of:
case X$foo in
Xy|Xye|Xyes) bar;;
esac
How about:
case $foo in
y*) bar;;
esac
--
Daniel S. Cox
(akgua!itm!danny)
More information about the Comp.unix
mailing list