From: devet@adv.win.tue.nl (Arjan de Vet) Subject: Re: Alternative to linux echo command Date: 25 May 1993 19:06:18 +0200
In article <SCT.93May25005444@ascrib.dcs.ed.ac.uk> sct@dcs.ed.ac.uk (Stephen
Tweedie) writes:
>> I tried to use it I got an error invalid libc.so.4. Does anyone know
>> where I can get the source for the gnu echo?
>
>You don't need to - it comes with SLS!
>
>"echo" is a builtin command to SLS's standard shell, "bash". From
>bash, the command "help echo" gives the help:
The /bin/echo that comes (came?) with SLS was:
#!/bin/bash
echo $*
which gives problems when using strings with leading or trailing spaces (I
detected this with Pnews). I first replaced it with
#!/bin/sh
echo ${1+"$@"}
which solves these problems but later I installed GNU echo. It can be found
in shellutils-1.8.tar.z at any GNU archive (e.g. ftp.win.tue.nl:/pub/gnu).
Arjan