tech-userlevel archive

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

Re: interactive shell detection in shrc



    Date:        Tue, 24 Sep 2024 03:06:49 +0300
    From:        Valery Ushakov <uwe%stderr.spb.ru@localhost>
    Message-ID:  <ZvICmRZQjRJoB7m-%snips.stderr.spb.ru@localhost>

  | I also wanted to drop the ${1+"$@"} workaroud for the v7 shell bug
  | which I'm pretty sure we are not going to hit in this day and age on a
  | NetBSD system, but I won't to get down that rabbit hole.

That one isn't a rabbit hole, by all means, go ahead and delete that
usage, you are unlikely to find broken "$@" in any shell anyone would
actually want to use any more - that was a truly ancient bug being
worked around, as distinct from a difference from what is required,
which return being ignored in a script is.

kre


Home | Main Index | Thread Index | Old Index