David Douthitt wrote: [snip] > $(cat input | sed '/pat/' | wc -l) -ne 0
Remember, only you can prevent a useless use of cat ... :-o _______________________________________________ Leaf-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user