On Feb 27, Gerrit Pape <[EMAIL PROTECTED]> wrote:

> Do you have an example where such a test on $PS1 is used?  I'm unsure
Yes, I have a script which must behave differently if started from init
or by an user from the shell. $- does not work.

> whether it's good to encourage such behavior if it's not based on any
> standard, and works only with a few shells.
It appears to be a feature common to all real-world Bourne shells (I do
not consider posh to be relevant).

-- 
ciao,
Marco

Attachment: signature.asc
Description: Digital signature

Reply via email to