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

Re: [MacPerl] parsing postscript



As some people pointed out, and much to my shame, the file does indeed
include a space before the return.

For those who asked:

The file is coming off a Tandem box, generated by a newspaper publishing
comany's software (SII is the company).
I am trying to take a series of ads and parse them into individual ads,
that I then will convert to EPS files for individual placement.

Thanks for the help, and I promise to pay better attention in the future.
John


>I'm trying to parse through a postscript file, and having some difficulty.
>
>I'm using long line enders, like so:
>
>$/ = "5.4 RY";
>
>My problem comes in when, in the above example, I change the line to:
>
>$/ = "5.4 RY\x0D";
[snip]



===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org