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

Re: script copy files based upon content



Ryan King writes:

> The other weirdish piece is the ">/dev/null", which is just so that it
> doesn't output anything even if it does match (which you expect to
> happen.

It's better to use -q. That way grep can terminate right away when it
finds the first match.



Reply to: