Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!hp4nl!star.cs.vu.nl!maart From: maart@cs.vu.nl (Maarten Litmaath) Newsgroups: comp.unix.wizards Subject: Re: Possible bug in SunOS System V echo? Message-ID: <6430@star.cs.vu.nl> Date: 2 May 90 23:34:47 GMT References: <4852@helios.TAMU.EDU> <14020094@hpisod2.HP.COM> <12762@smoke.BRL.MIL> <-863CBCxds13@ficc.uu.net> Sender: news@cs.vu.nl Reply-To: maart@cs.vu.nl (Maarten Litmaath) Organization: VU Informatika, Amsterdam, The Netherlands Lines: 17 In article <-863CBCxds13@ficc.uu.net>, peter@ficc.uu.net (Peter da Silva) writes: )Here's another solution to the problem. Put this in your scripts: ) )echo() { )cat << ! )$* )! )} echo() { expr "xxx$*" : 'xxx\(.*\)' } -- Antique fairy tale: Little Red Riding Hood. |Maarten Litmaath @ VU Amsterdam: Modern fairy tale: Oswald shot Kennedy. |maart@cs.vu.nl, uunet!cs.vu.nl!maart