Re: enclose code and testfile.

2009-06-07 Thread Gary Kline
On Sun, Jun 07, 2009 at 04:52:10PM -0400, Karl Vogel wrote: > >> On Sat, 6 Jun 2009 18:22:00 -0700, > >> Gary Kline said: > > G> I'm encloseing a brief C program that skips over php delimiters and a > G> 74-byte test file. Am wondering if there is a better way. > tHanks for your perl

Re: enclose code and testfile.

2009-06-07 Thread Karl Vogel
>> On Sat, 6 Jun 2009 18:22:00 -0700, >> Gary Kline said: G> I'm encloseing a brief C program that skips over php delimiters and a G> 74-byte test file. Am wondering if there is a better way. #!/usr/bin/perl -w # skip PHP stuff in a file use strict; my ($prev, $match); # slurp