NetBSD-Bugs archive

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

Re: bin/39195 (/bin/sh tilde expansion doesn't take place on 'export=~/foo')



Synopsis: /bin/sh tilde expansion doesn't take place on 'export=~/foo'

State-Changed-From-To: open->closed
State-Changed-By: kre%NetBSD.org@localhost
State-Changed-When: Thu, 25 May 2017 12:18:48 +0000
State-Changed-Why:
This one is a "not a bug, won't fix".

The rules for tilde expansions are quite clear, and the place
where it was expected to work here is not one of them.  Making
a ~ expansion happen in this context would also allow it in
other contexts when it is not desired - the expansions happen,
have to happen, before anyone has any idea that the command
involved is export (or local, or readonly which operate the same way.)





Home | Main Index | Thread Index | Old Index