Hi Jagan,
perl -p -i -e 's/username\/password as SYSOPER/username\/##### as SYSOPER/g' test.dat
Can't find string terminator "'" anywhere before EOF at -e line 1. is the
error I am getting
On Windows the single quote is not a valid quoting character for the shell (cmd.exe or command.com). Replace the single quote with a double quote and it should work fine.
perl -p -i -e "s/username\/password as SYSOPER/username\/##### as SYSOPER/g" test.dat
The problem happens when your Perl code contains quotes as well, but that's another topic... :-)
HTH,
J-S
-- ___________________________________________ Jean-Sébastien Guay [EMAIL PROTECTED] http://whitestar02.webhop.org/
-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.308 / Virus Database: 266.10.4 - Release Date: 2005/04/27
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>