tech-userlevel archive

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

Re: What should we do with the -n flag in sh ?

    Date:        Tue, 23 Feb 2016 01:52:24 +0000
    From:        David Holland <>
    Message-ID:  <>

  | What you wrote gave me an idea, that unfortunately probably isn't very
  | easy to do: in an interactive shell, clear -n right before or as part
  | of printing the prompt.

That is actually probably not all that hard.   Let me look at it for
a day or two... (while also waiting for more replies from others.)

I take it you do mean effectively implementing "set +n" (which normally
is a meaningless command) at that point, so $- would have 'n' clear


Home | Main Index | Thread Index | Old Index