[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFE: allowing "" as a path specification for 'current dir' w/o prepe
From: |
Eric Blake |
Subject: |
Re: RFE: allowing "" as a path specification for 'current dir' w/o prepending './' ? |
Date: |
Thu, 2 Mar 2017 09:17:58 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
On 03/02/2017 01:25 AM, L A Walsh wrote:
> However given that some like the current behavior, a way to
> allow users a choice of of no-path being the same as "." or
> not-prepending "dot" would be the addition of an ENV var
> along the lines of "FIND_NOPATH_PREPENDS_NODOT" (or whatever!).
Please, do NOT make the behavior depend on an environment variable.
That is a sure way to break scripts that are not expecting the
environment to cause a change in behavior. If you want a different
behavior, the right way to do it is via a new command-line option.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature