Hi everyone,
I have installed the most recent version of Oracle 12c. I need to install the OE schema, therefore I followed the steps mentioned on the official Oracle website:
https://docs.oracle.com/en/database/oracle/oracle-database/12.2/comsc/installing-sample-schemas.html#GUID-A2C3DC59-CDA1-…
According to the readme.md file, I need to replace the occurrences of the token `__SUB__CWD__` with my current working directory.
I cannot do that. Trying to execute this code in Perl ( perl -p -i.bak -e 's#__SUB__CWD__#'$(pwd)'#g' *.sql */*.sql */*.dat ) results in the following errors :
1)Scalar found where operator expected at -e line 1, near "'s#__SUB__CWD__#'$(" (Missing operator before $(?)
2)Bareword found where operator expected at -e line 1, near "$(pwd"Missing operator before pwd?)
3)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 compillation errors

Message was edited by: 196c1ae7-a612-4bda-b5a8-428ff480ff53