* 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


Reply via email to