groff
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Groff] deletion of *~ files for `make mostlyclean'


From: MARSHALL Keith
Subject: Re: [Groff] deletion of *~ files for `make mostlyclean'
Date: Mon, 17 May 2004 09:14:48 +0100

>> The portable way to do this is surely
>> 
>>         -find -type f -name '*~' -exec rm -f {} \;
>
> Or this:
>
>  -rm -f `find -type f -name '*~'`

Agreed, this would also work, and probably be more efficient.
There is however, one possible problem: if there are a lot of
matches, there is a danger of overflowing the command line
buffer.  Admittedly, this is unlikely -- the days of the 127
byte limit of MS-DOS are hopefully now well behind us! IIRC,
Windows now has a limit of 2048 bytes; clearly an improvement,
but still smaller than what is typical of *nix systems.

Best regards,
Keith.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]