|
Posted by Jim Moseby on 11/15/05 21:09
>
> 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
I maintain: "Better to save the grief and do it right to start with, no?"
JM
Navigation:
[Reply to this message]
|