On Tue, Oct 12, 1999 at 08:58:04PM +0200, Marco d'Itri wrote:
> shcat=()
> {
> if [ -n "$1" ]; then
> {
> while read -r line; do
> echo "$line";
> done
> }<$1;
> else
> while read -r line; do
> echo "$line";
> done;
> fi
> }
sash doesn't support shell functions.
Nor does it have a built-in cat.
But I doubt that cat is even useful if you don't have
a working /bin/sh.
--
Raul