We don't bite newbies here... much | |
PerlMonks |
Problem with Parenthesesby jjoyce (Initiate) |
on Aug 21, 2012 at 21:02 UTC ( [id://988869]=perlquestion: print w/replies, xml ) | Need Help?? |
jjoyce has asked for the wisdom of the Perl Monks concerning the following question: This script executes in my Linux without problem: find . -type f \( -perm -0020 -o -perm -0004 -o -perm -0002 -o -perm -0001 -o -perm -1000 \) -lsHowever, when I try to embedded it on a Perl code:
I receive the following error message: sh: -c: line 0: syntax error near unexpected token `(' sh: -c: line 0: `find . -type f /( -perm -0020 -o -perm -0004 -o -perm -0002 -o -perm -0001 -o -perm -1000 /) -ls' How can I fix the above code?
Back to
Seekers of Perl Wisdom
|
|