Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!math.lsa.umich.edu!math.lsa.umich.edu!emv From: emv@math.lsa.umich.edu (Edward Vielmetti) Newsgroups: comp.unix.ultrix Subject: Re: Ultrix 4.0 bourne shell scripting Message-ID: Date: 7 Aug 90 20:02:54 GMT References: <6033@jhunix.HCF.JHU.EDU> <2071.26bd28b1@miavx1.acs.muohio.edu> <3520@nisca.ircc.ohio-state.edu> Sender: usenet@math.lsa.umich.edu Organization: University of Michigan Math Dept., Ann Arbor MI. Lines: 14 In-Reply-To: brister@decwrl.dec.com's message of 7 Aug 90 13:32:42 GMT In article brister@decwrl.dec.com (James Brister) writes: The Ultrix standard Bourne shell (/bin/sh) is an old version. To get the ":-" behaviour as well as user-definable functions, you want to use the shell /usr/bin/sh5 (which comes from System V release 2). Interesting. Perhaps that explains why the "xon" script I got from somewhere (last modified by dgreen@cs.ucla.edu) which fires up an X application on another host dies with "bad substitution" or some such when I use /bin/sh, but works OK with /usr/bin/sh5. --Ed Edward Vielmetti, U of Michigan math dept