-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Chris Arnold wrote:
Stefan Hundhammer wrote:
perl -p -i -e 's/oldtext/newtext/' *.html
/oldtext will be lines of html and /newtext will be lines of php. Will perl still be able to do it and if so, do i need to escape some of the code in oldtext and newtext? Example: <HTML> the < and > and <?php ;?> does any of that need to be escaped?
Probably a little over the top but ... man perlrequick nand man perlretut will help... - -- ============================================================================== I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone. Bjarne Stroustrup ============================================================================== -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFHOWrEasN0sSnLmgIRAjEsAJ4oOAoKEEsGuEBX/vqS+Xi9b3ks6gCfZ37O F2EU35JlAg+7nUCdYIZXoNQ= =ESp3 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org