Re: % in $PATH

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

 



On Wed, Nov 05, 2014 at 11:59:47AM +0000, Stephane Chazelas wrote:
> Hello,
> 
> ash/dash have a nice feature that allows to have:
> 
> PATH=/bin:%builtin:/usr/bin:/some/dir%func:/sbin
> 
> To have commands in /bin take precedence over builtins and
> files in /some/dir being looked up for autoloaded functions (a
> bit like FPATH in ksh/zsh).
> 
> That's nice but the way it is implemented, that means that %
> characters in $PATH cause problems. See for instance:
> 
> http://unix.stackexchange.com/questions/126955/percent-in-path-environment-variable

I'm inclined to just kill this feature, or at least make it a
configuration option that's disabled by default.

Cheers,
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux