how to make a script of this one-liner...
- From: Arnaud Dagnelies <arnaud.dagnelies@xxxxxxxxx>
- Date: Fri, 25 Apr 2008 08:30:27 -0700 (PDT)
Hello,
I would like to write a small script used as follows:
igrep ***
That basically simply performs the grep and formats the output in a
special way using another script. In short, what should be executed
is:
grep *** | someScript
....where the *** is anything that can be given to grep. Thus not only
the pattern and files but also including flags and params and so on.
What would be the easiest way to do that?
.
- Follow-Ups:
- Re: how to make a script of this one-liner...
- From: Bill Marcum
- Re: how to make a script of this one-liner...
- From: Glenn Jackman
- Re: how to make a script of this one-liner...
- Prev by Date: Re: Howto read file line-by-line in bash
- Next by Date: Re: how to make a script of this one-liner...
- Previous by thread: Re: Howto read file line-by-line in bash
- Next by thread: Re: how to make a script of this one-liner...
- Index(es):
Relevant Pages
|