bourne shell query
Dave Sill
de5 at de5.CTD.ORNL.GOV
Thu Sep 6 03:24:17 AEST 1990
In article <SCOTT.90Sep5124415 at tab29.larc.nasa.gov>, scott at tab29.larc.nasa.gov (Scott Yelich) writes:
>
>2) test "$1" = "$2" && echo "Yeas!" || echo "No-way!"
>
>4) eval ${1:+'echo "Yup!"'}
>
>I prefer 2 and 4....
I hope I never have to maintain any of your scripts.
--
Dave Sill (de5 at ornl.gov) These are my opinions.
Martin Marietta Energy Systems
Workstation Support
More information about the Comp.unix.shell
mailing list