[PLUG] One-liners

Fred James fredjame at fredjame.cnc.net
Thu Jul 30 18:04:10 UTC 2009


Jameson Williams wrote:
> On Thu, Jul 30, 2009 at 9:34 AM, Randal L. Schwartz
> <merlyn at stonehenge.com>wrote:
>
>   
>> Andrew>   find . -empty -maxdepth 1 -exec rm {} \;
>>
>> Beware.  -empty is a stupid GNUism because the GNU people were
>> too lazy to type "-size 0".
>>
>> The *real* find is documented in:
>>
>>  http://opengroup.org/onlinepubs/007908799/xcu/find.html
>>
>> "GNU - because, hey, WHO THE F CARES about portability..."
>>
>>     
>
> Well, GNU find retains -size, afterall. I think it's more fair to call GNU
> "reverse compatible" with UNIX. GNU is Not UNIX, though, lest one forget --
> the project was kind to be rather explicit of that. These days I'd prefer to
> blame UNIX for being old fashioned in these respects -- it's they who are
> getting off-lined, not the Gnu kid.
>
> Cheers,
> Jameson
>   
Fisticuffs should be unnecessary here - there is no *NIX that is UNIX!  
That has been a proud mantra for decades, and certainly has been proved 
by the various commercial versions out there.
Regards
Fred James




More information about the PLUG mailing list