hi monks,
I intend to transfer a series of powershell scripts for creating database into perl script. but I'm stuck in replace of backslash.
take a look below commandsI'm surprised to find out almost the same command has different outcome. it doesn't work in perl, but does in shell.part of conf file ########################################### # Diagnostics and Statistics ########################################### background_dump_dest=%ORACLE_BASE%\admin\%ORACLE_SID%\bdump core_dump_dest=%ORACLE_BASE%\admin\%ORACLE_SID%\cdump #timed_statistics=TRUE user_dump_dest=%ORACLE_BASE%\admin\%ORACLE_SID%\udump command: in perl: `psed -e 's/\\/\//gp' init10CONVERGE.ora > init10CONVERGE.ora_for_unix +`; in shell: psed -e 's/\\/\//gp' init.ora > init.ora_for_unix`;
Any suggestions? I've tried single quote, double quote, q{} etc, but seems not very helpful.
I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |