tobold.org

correct • elegant • free

△ comp.unix.shell △

◅ a cshell problem: putting grep output into variable

Find command, exclude dot directories. ▻

tab in regular expresion

In article <efz73.363$g07.18513@iad-read.news.verio.net>,
Eric Amick  <eamick@shell.clark.net> wrote:
>C-style escapes don't work in grep and most other programs that use
>regular expressions.  (Perl is the most notable exception.)  Simply press
>the tab key--you won't need the square brackets, but you will need those
>quotes.

Many interactive shells use tab for filename completion.  If this is
the case, pressing the tab key will likely just beep at you.  If this
happens, type ^V (control-v), then tab.  (Conceivably, it might not be
^V: the "literal next" character is given by the `lnext' field in the
output of `stty -a'.  But ^V is usual.)

Tim.
--
Tim Goodwin   | `I can't believe that someone is releasing
University of | something called "Unix" without something
Leicester, UK | called "/bin/sh".' -- Randal L. Schwartz

Original headers:

From: tjg@ltpcg.star.le.ac.uk (Tim J Goodwin)
Newsgroups: comp.unix.shell
Subject: Re: tab in regular expresion
Date: 10 Jun 1999 11:13:48 +0100
Organization: University of Leicester, UK
Message-ID: <7jo34s$dl$1@ltpcg.star.le.ac.uk>
References: <375EAD07.A09E0A88@cs.technion.ac.il>
  <efz73.363$g07.18513@iad-read.news.verio.net>

△ comp.unix.shell △

◅ a cshell problem: putting grep output into variable

Find command, exclude dot directories. ▻