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

Re: about matrix text editing



On Mon, Mar 10, 2003 at 04:02:47AM +0900, Youichi Mano wrote:
> ------------------------
> a	1957	111
> b	1902	222
> c	2001	111
> ------------------------
> 
> i.e. the output will be
> ----------------
> a	1957	111
> c	2001	111
> ----------------

grep -E '^[a-z]+[[:space:]]+[0-9]+[[:space:]]+111$' < yourfile

?

i think what might be slowing it down is the -P you're passing to
grep.


hth,
	sean

Attachment: pgpsVMrfWy0d3.pgp
Description: PGP signature


Reply to: