Re: Grep Output
From: Barry Margolin (barry.margolin_at_level3.com)
Date: 09/30/03
- Next message: Stephane CHAZELAS: "Re: Grep Output"
- Previous message: Maurizio: "Re: Grep Output"
- In reply to: Maurizio: "Re: Grep Output"
- Next in thread: Stephane CHAZELAS: "Re: Grep Output"
- Reply: Stephane CHAZELAS: "Re: Grep Output"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 30 Sep 2003 15:45:27 GMT
In article <3f79a452$0$234$4d4efb8e@read.news.it.uu.net>,
Maurizio <no@spam> wrote:
>I would like to separe the line that returns whit the some line contain in
>pattern, for example
>
>sometext123sometext
>sometext123sometext
>
>321sometext321
>321sometext321
>
>126sometext
>126sometext
>
>Sorry again for my mistake!
for string in `cat patternfile`
do
grep $string inputfile && echo ''
done
-- Barry Margolin, barry.margolin@level3.com Level(3), Woburn, MA *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups. Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.
- Next message: Stephane CHAZELAS: "Re: Grep Output"
- Previous message: Maurizio: "Re: Grep Output"
- In reply to: Maurizio: "Re: Grep Output"
- Next in thread: Stephane CHAZELAS: "Re: Grep Output"
- Reply: Stephane CHAZELAS: "Re: Grep Output"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]