You are here: Re: [PHP] Is echo tag reasonably portable? « PHP « IT news, forums, messages
Re: [PHP] Is echo tag reasonably portable?

Posted by Robin Vickery on 11/15/05 21:02

On 11/15/05, Greg Donald <destiney@destiney.com> wrote:
> On Tue, 15 Nov 2005, Jim Moseby wrote:
>
> > It will be when you have to sort through 1,000,000 lines of code in 400
> > files to change '<?' to '<?PHP'. Better to save the grief and do it right
> > to start with, no?
>
> for file in *.php; do
> cp $file $file.tmp
> sed -e "s/<?$/<?php/g" $file.tmp >$file
> rm $file.tmp
> done

eh, what?

You only have '<?' at the end of a line?

-robin

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация