W
wong_powah
I want to remove all special characters in front of a list of file
names (which may be generated by the "find" or other commands).
How to do that?
This does not work:
$ find . -type f -print | perl -pe 's/([?|*.\'"])/\\$1/g'$ find . -type f -print | perl -pe "s/([?|*.\'"])/\\$1/g"
bash: syntax error near unexpected token `)'
names (which may be generated by the "find" or other commands).
How to do that?
This does not work:
$ find . -type f -print | perl -pe 's/([?|*.\'"])/\\$1/g'$ find . -type f -print | perl -pe "s/([?|*.\'"])/\\$1/g"
bash: syntax error near unexpected token `)'