[Nottingham] Help... How to grep four words in a file appearing in any permutation?
Jason Irwin
jasonirwin73 at gmail.com
Mon Nov 23 16:15:37 UTC 2015
On 23/11/15 16:09, Richard Parsons wrote:
> grep -l alpha * | xargs grep -l beta | xargs grep -l charlie | xargs
> grep -l delta
HAH! I was just typing the exact same thing. Yes, I think that should work.
--
╔═════════════╦══════════════════════════════════════════╗
║ Jason Irwin ║ OpenPGP (GPG/PGP) Public Key: 0xD0C592B1 ║
║ ║ Import from hkp://pgp.mit.edu ║
╚═════════════╩══════════════════════════════════════════╝
More information about the Nottingham
mailing list