[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grep
From: |
Ralf Wildenhues |
Subject: |
Re: grep |
Date: |
Sat, 25 Apr 2009 10:12:26 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
* Chris Jones wrote on Sat, Apr 25, 2009 at 10:02:39AM CEST:
>
> How do I grep a bunch of documents for all occurrences of "words" such
> as '.bashrc', '.bash-history' etc. ..?
With extended regular expressions that should always be possible,
grep -E '(^|[^[:alpha:]0-9_])(.bashrc|.bash-history)($|[^[:alpha:]0-9_])'
Cheers,
Ralf
- grep, Vincenzo Antignano, 2009/04/24
- Re: grep, Ralf Wildenhues, 2009/04/25
- Re: grep, Chris Jones, 2009/04/25
- Re: grep,
Ralf Wildenhues <=
- Re: grep, Chris Jones, 2009/04/25