hello all
I execute this:
# perl -p -w -e 's/</book>(?:\n)<collection>(.*)</collectioninfo>//g' test1.txt
And get this:
Bareword found where operator expected at -e line 1, near "s/</book>(?:\n)<collection>(.*)</collectioninfo"
Unquoted string "collectioninfo" may clash with future reserved word at -e line 1.
syntax error at -e line 1, near "s/</book>(?:\n)<collection>(.*)</collectioninfo"
Execution of -e aborted due to compilation errors.
Any help ?
Thx !!
I execute this:
# perl -p -w -e 's/</book>(?:\n)<collection>(.*)</collectioninfo>//g' test1.txt
And get this:
Bareword found where operator expected at -e line 1, near "s/</book>(?:\n)<collection>(.*)</collectioninfo"
Unquoted string "collectioninfo" may clash with future reserved word at -e line 1.
syntax error at -e line 1, near "s/</book>(?:\n)<collection>(.*)</collectioninfo"
Execution of -e aborted due to compilation errors.
Any help ?
Thx !!