Chris Beggy on Wed, 9 Jun 1999 13:42:10 -0400 (EDT)


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

Re: [Plug] grep, awk, sed ?


Walt Mankowski wrote:
> 
> How about...
> 
> perl -e 'undef $/;$_ = <STDIN>;print "$&\n" if /\[$1[^\]]*\]/ms;' spectrophotometer <diary.txt
> 
> Walt

That works for me!

Chris

_______________________________________________
Plug maillist  -  Plug@lists.nothinbut.net
http://lists.nothinbut.net/mail/listinfo/plug