[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
RE: PGM scripts and Xywrite.
-----Original Message-----
From: owner-xywrite@xxxxxxxx
[mailto:owner-xywrite@xxxxxxxx]On Behalf Of Mark Butler
Sent: Wednesday, January 04, 2006 9:27 AM
To: 'Robert Holmgren'; xywrite@xxxxxxxx; Mark Butler
Subject: RE: PGM scripts and Xywrite.
Hi Rob,
Thank you for your response, I think the idea is to create sed files from
the PGM scripts and run these from a Perl Script. As we use Macs this means
we can dispose of XyWrite and the PC's it runs on. What I need to know is
what the commands in the PGM files mean? Is there a format or are they
simply search and replaces.
I've attached a Zipped file as you said. I think the format was wrong last
time as I cut and pasted it from Vim on a unix box. The format is more
readable when viewing from Windows.
Thank you for your help.
Mark.
-----Original Message-----
From: Robert Holmgren [mailto:holmgren@xxxxxxxx]
Sent: 04 January 2006 16:54
To: xywrite@xxxxxxxx; Mark Butler
Subject: Re: PGM scripts and Xywrite.
Hi Mark,
Your script is entirely search & replace routines . . . easy to re-write in another language.
But it would be difficult to read exactly WHAT is being searched for and replaced with when viewing
the file with something other than XyWrite.
I can say that what you're looking for is "ci", which is the Search&Replace command,
then the things between the exclamation points are the actual S&R objects . . . i.e. !search for
this!replace with this!
The trouble is that some of the S&R objects are things that won't display correctly in most
viewers (the codepage problem Robert refers to). Mostly the "gibberish" is the hard
returns being searched-for (ÿ0A).
-BrianH.