xargs / FS-maintenance question

John Macdonald john-Z7w/En0MP3xWk0Htik3J/w at public.gmane.org
Sat Oct 2 17:54:31 UTC 2004


On Fri, Oct 01, 2004 at 05:27:39PM -0400, Lennart Sorensen wrote:
>                           [...] by default find sticks a -print at the
> end unless -exec or something else is there since it figures some side
> effect should be performed.

That default -print is a gnu find extension - if you are
writing a script that needs to be portable to all Unix systems,
use an explicit -print.  Unfortunately, -print0 is also an
extension that was added in gnu's find, so you can't depend
upon it either for portability.

-- 
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list