[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
$ECHO variations (was: FYI: IRIX 6.5 and exporting symbols.)
From: |
Ralf Wildenhues |
Subject: |
$ECHO variations (was: FYI: IRIX 6.5 and exporting symbols.) |
Date: |
Thu, 24 Mar 2005 14:32:39 +0100 |
User-agent: |
Mutt/1.4.1i |
* Ralf Wildenhues wrote on Thu, Mar 24, 2005 at 09:15:35AM CET:
> Well, this is kind of Libtool-specific, as we use one of
> echo
> print -r
> printf %s\n
> $CONFIG_SHELL $0 --fallback-echo
>
> for $ECHO, and the third one at least does the wrong thing with more
> than one argument, and the first and second mind leading dashes.
> Unfortunately, ksh's `print -r' complains about options it doesn't know
> (tested with pdksh), unlike all echos I know:
>
> $ print -r -lfoo
> ksh: print: -l: unknown option
Wait..
Does anyone know a shell that has `print' but does not understand
print -r -- -lfoo
(we could just test for this, sure)?
FWIW, does anyone know a shell that prints `\t' with
echo -E '\t'
but still does not do what we want? (I have no idea whether `echo -E'
is a net win at all, probably not.)
Regards,
Ralf