RE: printing contents between lines

2004-06-03 Thread Tim Johnson
ne 03, 2004 12:44 PM To: [EMAIL PROTECTED] Subject: printing contents between lines hi all , consider the contentes of file as below how to print all the line between tools: and # Not a target: only -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI

Re: printing contents between lines

2004-06-03 Thread Chris Charley
- Original Message - From: "Chris Charley" <[EMAIL PROTECTED]> Newsgroups: perl.beginners To: <[EMAIL PROTECTED]> Sent: Thursday, June 03, 2004 7:09 PM Subject: Re: printing contents between lines > > - Original Message - > From: "Sidhar

Re: printing contents between lines

2004-06-03 Thread Chris Charley
- Original Message - From: "Sidharth" <[EMAIL PROTECTED]> Newsgroups: perl.beginners To: <[EMAIL PROTECTED]> Sent: Thursday, June 03, 2004 3:44 PM Subject: printing contents between lines hi all , consider the contentes of file as below [snip file contents] h

Re: printing contents between lines

2004-06-03 Thread John Harrington
How about: my $myvar = qq(); $myvar=~s/tools:(.*?)# Not a//sg; print $1; John From: "Sidharth" <[EMAIL PROTECTED]> > hi all , > consider the contentes of file as below > > === > tools: > # Phony target (prerequisite of .PHONY). > # Implicit rule s

printing contents between lines

2004-06-03 Thread Sidharth
hi all , consider the contentes of file as below === tools: # Phony target (prerequisite of .PHONY). # Implicit rule search has not been done. # File does not exist. # File has not been updated. # commands to execute (from `Makefile', line 52): @$(ECHO)