Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Installing Databse Oracle Samples

User_SZ9JOJan 22 2023

I am using a guide for installing database samples on my Windows desktop (https://github.com/oracle-samples/db-sample-schemas). But I am stuck at launching Perl script:
perl -p -i.bak -e 's#__SUB__CWD__#'$(pwd)'#g' *.sql */*.sql */*.dat
Error every time appears:
Scalar found where operator expected at -e line 1, near "'s#__SUB__CWD__#'$("
(Missing operator before $(?)
Bareword found where operator expected at -e line 1, near "$(pwd"
(Missing operator before pwd?)
String found where operator expected at -e line 1, near ")'#g'"
(Missing operator before '#g'?)
syntax error at -e line 1, near "'s#__SUB__CWD__#'$("
Execution of -e aborted due to compilation errors.
Could someone help me with that?

Comments
Post Details
Added on Jan 22 2023
2 comments
288 views