RE: How to write a page break character.- one more question

2003-12-22 Thread chetak.sasalu
reg exp matched the end of the file. Thanks, Daniel. -Original Message- From: Daniel Staal [mailto:[EMAIL PROTECTED] Sent: Monday, December 22, 2003 8:22 PM To: Perl Newbies Subject: RE: How to write a page break character.- one more question --As off Monday, December 22, 2003 9:15 AM

RE: How to write a page break character.- one more question

2003-12-22 Thread Daniel Staal
--As off Monday, December 22, 2003 9:15 AM +0530, [EMAIL PROTECTED] is alleged to have said: I have one more requirement, The last STATUS which occurs just prior to the file end should not be followed by a page break character. How can I code this in perl? --As for the rest, it is mine. Just to

Re: How to write a page break character.- one more question

2003-12-22 Thread Rob Dixon
Chetak Sasalu wrote: > > From: John W. Krahn [mailto:[EMAIL PROTECTED] > Sent: Saturday, December 20, 2003 3:33 PM > To: [EMAIL PROTECTED] > Subject: Re: How to write a page break character. > > > > Chetak Sasalu wrote: > > > > > > Hi, > > > > Hello, > > > > > I want to search for the word "status"

Re: How to write a page break character.- one more question

2003-12-22 Thread John W. Krahn
Chetak Sasalu wrote: > > Chetak Sasalu wrote: > > > > I want to search for the word "status" in a group of files in a > > directory and replace it with "status\n^L" where ^L is a page break > > chatacter, In vi I can type it in using cntrl+l. > > > > I want to do this by > > > > perl -p -i.old -e

RE: How to write a page break character.- one more question

2003-12-21 Thread chetak.sasalu
Hi, I have one more requirement, The last STATUS which occurs just prior to the file end should not be followed by a page break character. How can I code this in perl? Thanks John! For giving me the fish and, more importantly, the fishing net(pod) :-D -Chetak -Original Message- From: J