On Thu, Sep 19, 2002 at 04:51:01PM -0700, Paul Eggert wrote:
> (set X`ls -dln` && chgrp $4 $tmp) 2>/dev/null

Some versions of ls don't print the group name by default:
        % /usr/ucb/ls -dln .
        drwxr-xr-x  52 erics        6656 Sep 19 19:50 .

You can add "-g" to fix that, but I bet there are other versions
of ls that choke on it :-/

--

|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.        [EMAIL PROTECTED]
|  |  /
The acronym for "the powers that be" differs by only one letter
from that for "the pointy-haired boss".


Reply via email to