Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!wuarchive!emory!utkcs2!de5 From: de5@de5.CTD.ORNL.GOV (Dave Sill) Newsgroups: comp.unix.shell Subject: Re: bourne shell query Message-ID: <1990Sep5.172417.24069@cs.utk.edu> Date: 5 Sep 90 17:24:17 GMT References: <26DC6447.15922@maccs.dcss.mcmaster.ca> <8446@orca.wv.tek.com> Sender: news@cs.utk.edu (USENET News System) Reply-To: Dave Sill Organization: Oak Ridge National Laboratory Lines: 14 In article , scott@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@ornl.gov) These are my opinions. Martin Marietta Energy Systems Workstation Support