[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash versus printf -exported_symbol on OSF

From: Bruce Korb
Subject: Re: bash versus printf -exported_symbol on OSF
Date: Sat, 04 Jan 2003 16:18:57 -0800

Kevin Ryde wrote:
> I wrote:
> >
> > Using "printf -- -exported_symbol " seems to work with both bash and
> > /usr/bin/printf.  Unless anyone knows better perhaps this would be a
> > good change.
> Ah, sorry, I just tried "dash", the Almquist shell on Debian, and its
> builtin gives "--" for "printf --".  A better way to avoid any doubt
> might be
>         printf "%cexported_symbol " -

Any particular problem with:

  echo '-exported_symbol '

???  I would favor not supporting a shell that has an echo
that doesn't print all its arguments.  (Only excepting the
two character argument strings, "-n", "-e" and "-E" because
of an historical mistake.)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]