help with grep
- From: jammer <bjlockie@xxxxxxxxx>
- Date: Mon, 11 Jun 2012 13:58:12 -0700 (PDT)
I'm trying to match 'ABCD 252'.
There is a variable number of spaces before the 2.
The 252 could be any number.
I tried:
grep 'ABCD[:blank:]+[:digit:]+' file
.
- Follow-Ups:
- Re: help with grep
- From: Robert Bonomi
- Re: help with grep
- From: Ben Bacarisse
- Re: help with grep
- From: Stephane Chazelas
- Re: help with grep
- From: Chris F.A. Johnson
- Re: help with grep
- Prev by Date: Re: insert text to beginning of each word
- Next by Date: Re: help with grep
- Previous by thread: Re: insert text to beginning of each word
- Next by thread: Re: help with grep
- Index(es):