[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: grep
From: |
Chris F.A. Johnson |
Subject: |
Re: grep |
Date: |
Sun, 23 May 2004 19:43:05 -0400 (EDT) |
On Sat, 22 May 2004, Alexander James Mattam wrote:
Sir,
grep [:digit:] what should it return???
Its not returning lines containing only
digits.
It will return lines containing any of these 5 characters:
: d i g t
grep '[[:digit:]]' will return all lines containing a digit.
--
Chris F.A. Johnson http://cfaj.freeshell.org
=================================================================
Everything in moderation -- including moderation
- grep, Alexander James Mattam, 2004/05/23
- Re: grep, Paul Jarc, 2004/05/23
- Re: grep, Stepan Kasal, 2004/05/24
- Re: grep,
Chris F.A. Johnson <=