1

how to include a text pattern in system function in PERL

view story
linux-howto

http://www.unix.com – Pleeeeease help.. I'm working in perl i have a system function to check whether a file is readable for others or not. i just want to print a text in that command my command is : Code: system ("ls -la $filename | awk '\$1~ /^-......r../ {print \$9}'"); i know for displaying text in awk command one needs to put it in double quotes "" but here how to do that.. when we are executing awk in system command (which already has double quotes in the start and end) Moderator's Comments: (HowTos)