Jim Meyering <j...@meyering.net> writes:

> While writing a few tests for userspec (below), I was surprised to
> re-learn that chown USER_NAME: has a special meaning.  It is a
> shorthand for chown USER_NAME:+$(id -g USER_NAME) ...
> I had expected it to be equivalent to this:
> chown USER_NAME ...
>
> Since the above behavior is not specified by POSIX, and
> is IMHO, counter-intuitive

Why?  I find it very convenient and use it quite a lot.

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


Reply via email to