Tim Waugh <[EMAIL PROTECTED]> wrote:
> On Mon, Feb 23, 2004 at 02:42:58PM -0500, Paul Jarc wrote:
>
>> Jim Meyering <[EMAIL PROTECTED]> wrote:
>> >> /* If there is no colon, then see if there's a `.'. */
>> >> - if (separator == NULL && posix2_version () < 200112)
>> >> + if (separator == NULL && (posix2_version () < 200112 ||
>> >> + !getenv ("POSIXLY_CORRECT")))
>> >
>> > Please consider using a different environment variable.
>> > Setting POSIXLY_CORRECT should not make an otherwise-POSIX-conforming
>> > program like GNU chown *non*conforming.
>>
>> Setting the variable would mean that "." *wouldn't* be recognized,
>> AFAICT. If it's *not* set, then "." is considered as a separator.
>
> Precisely -- this is what I tried to say in words, and then with the
> code. :-)
Oh. I see now.
If you do that, you should also adjust `chown --help' output
and coreutils.texi to describe the new default behavior.
You should also change the descriptions of the
--from=CURRENT_OWNER:CURRENT_GROUP
option, since it too relies on the parse_user_spec function
that you're proposing to change.
_______________________________________________
Bug-coreutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-coreutils