From: Charles Hedrick (hedrick@geneva.rutgers.edu)
Date: 10/03/92


From: hedrick@geneva.rutgers.edu (Charles Hedrick)
Subject: Re: /bin/echo
Date: 3 Oct 1992 18:40:27 GMT

wirzeniu@klaava.Helsinki.FI (Lars Wirzenius) writes:

>Since echo is a builtin in all shells, there isn't a GNU version
>included in any package, which pretty much explains why there is none
>for Linux. (There is a manpage for a GNU version, and after you have
>read that, you don't _want_ a GNU version. Trust me. :-)

>Apart from that, a simple /bin/echo can be written rather easily. See
>the end of this posting for the version I use.

Here's an even easier one. It's based on the observation that
echo is built into the shell:

#!/bin/sh
echo $*

Now that I think about it, it might be better to use

#!/bin/sh
echo "$@"