NetBSD-Bugs archive

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

Re: bin/50557: does not run on Nixos

    Date:        Mon, 30 May 2016 10:25:50 -0400
    From: (Christos Zoulas)
    Message-ID:  <>

  | On May 30, 12:50pm, (Joerg Sonnenberger) wrote:
  | |  The idea here was to explicitly force the external pwd and "env pwd"
  | |  does exactly that?
  | So does \pwd or 'pwd'...

Actually, they don't, quoting has long been removed by the time command
execution (an path searching etc) are done.

eg: (using an old NetBSD sh, not the current one)

$ f
f: not found
$ f() { echo hello; }
$ f
$ \f
$ 'f'

The same applies to built ins...

$ echo -e hhh\\tiii
hhh     iii
$ /bin/echo -e hhh\\tiii
-e hhh\tiii
$ 'echo' -e hhh\\tiii
hhh     iii


Home | Main Index | Thread Index | Old Index