- To: SLUG <slug@xxxxxxxxxxx>
- Subject: Re: [SLUG] OT? Printing and viewing PHP code from WWW.
- From: Michael Lake <Mike.Lake@xxxxxxxxxx>
- Date: Wed Oct 25 15:31:04 2000
- Organization: University of Technology, Sydney
Jeff Waugh wrote:
> <quote who="Michael Lake">
> > Doesn't matter what I replace them with as Netscsape is
> > interpreting the <?
>
> We don' need no steenkin' Perl!
>
> %s/<?/\<?/
> %s/?>/?\>/
>
Yeah!!! Problem solved. Thanks Jeff, I hadn't though of
that.
In vi :1,$s/<\?/\<\?/g
and of course sed could have come to the rescue as well :-)
I don't even have to replace the ?>
Thanks all.
Mike
--
--------------------------------------------------------------------
Michael Lake
University of Technology, Sydney
Email: mailto:Mike.Lake@xxxxxxxxxx Ph: 02 9514 1724 Fx: 02
9514 1628
URL: http://www.science.uts.edu.au/~michael-lake/
Linux enthusiast, active caver and interested in anything
technical.
--------------------------------------------------------------------