NetBSD-Bugs archive

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

Re: bin/50557: build.sh does not run on Nixos



    Date:        Mon, 30 May 2016 10:25:50 -0400
    From:        christos%zoulas.com@localhost (Christos Zoulas)
    Message-ID:  <20160530142550.1CF9417FDAB%rebar.astron.com@localhost>

  | On May 30, 12:50pm, joerg%bec.de@localhost (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
hello
$ \f
hello
$ 'f'
hello

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

kre




Home | Main Index | Thread Index | Old Index