tech-userlevel archive

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

Re: sh(1) and NUL



    Date:        Wed, 25 Sep 2024 16:44:12 +0200
    From:        Thomas Klausner <wiz%NetBSD.org@localhost>
    Message-ID:  <ZvQhvHR8bw1VKXnE%exadelic.gatalith.at@localhost>

  | Since we're talking about sh(1) so much - OpenBSD just changed their
  | ksh to abort on reading NUL in shell scripts.
  |
  | Perhaps we want something similar?

That's one of the easier changes to implement, if it seems like
a good idea - or it is if one assumes "abort" there means just
issue an error (in a non-interactive shell the shell would exit,
in an interactive shell it would just return for the next input).

kre



Home | Main Index | Thread Index | Old Index