why does this simple counter fail?
Polytropon
freebsd at edvax.de
Sat Mar 26 01:30:13 UTC 2011
On Fri, 25 Mar 2011 21:12:08 -0400, Brad Mettee <bmettee at pchotshots.com> wrote:
> Gary Kline wrote:
> > I'M trying to decide whether to tatoo this on my forehead or
> > just make a note in my ~/.notes file for the next time this
> > breaks. if/when. Meanwhile, the best thingt to do would simply
> > write a script to turn <? into <?php .... Never know when I'll
> > get into things like <?xml or whatever.
> >
> If you do the <? into <?php, don't forget to do <?phpphp into <?php too.
> Otherwise you'll likely corrupt already good tags.
With 's/<\?$/<\?php/g' and sufficient quoting,
maybe removing extra spaces, it should be fine. :-)
--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions
mailing list