Sponsored Content
Full Discussion: + instead of ;
Top Forums Shell Programming and Scripting + instead of ; Post 54160 by jim mcnamara on Wednesday 4th of August 2004 04:57:10 PM
Old 08-04-2004
+ instead of ;

Code:
 find . -name \*.txt -exec grep -i "ZMA" {} \+

using the plus sign is better for performance, according to the manpage on find. Works fine.

Is it even slightly portable to other unixen? It doesn't work on RH 7.2, does on HPUX, for example.
 
All times are GMT -4. The time now is 10:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy