[Phpmyadmin-devel] extchg.sh

Armel FAUVEAU webmaster at phpindex.com
Wed Aug 1 17:14:08 CEST 2001


Hi all,

I suggest tow things for this shell script.
First :

$ fromdos <extchg.sh> extchg.sh.new
$ mv extchg.sh.new extchg.sh

Second :

Change this line
         sed -e 's/'$1'/'$2'/g' $i > `ls $i|sed -e 's/'$1'/'$2'/g'`
to this one,
        sed -e 's/\.'$1'/\.'$2'/g' $i > `ls $i|sed -e 's/'$1'/'$2'/g'`

Because, if you make a 'extchg.sh php3 php' and after a 'extchg.sh php
php3', the actual version change all <?php tag to <?php3 (for example).

Armel.
................................................................
Webmaster PHPIndex
http://www.phpindex.com
webmaster at phpindex.com
................................................................






More information about the Developers mailing list