bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: grep


From: Paul Jarc
Subject: Re: grep
Date: Sun, 23 May 2004 20:57:22 -0400
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)

"Alexander James Mattam" <address@hidden> wrote:
>        grep [:digit:]    what should it return???

It should output lines that contain :, d, i, g, or t.  (But without
quotes, the shell may change the pattern.)  To get lines containing
digits, use:
grep '[[:digit:]]'


paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]