I have a question about putting an awk command into a perl script. I'm not a programmer by any means, and am just trying to make this work. I want to save the output for the result of:
/bin/df /images/vol8 | awk '{print $3}'
so, when i put it in the program, i want to do it like this:
$spacefree = `/bin/df /images/vol8 | awk '{print $3}'`
but i get errors on this b/c it chokes when it hits the single quotes from the awk statement. Anyone know how I can make perl ignore the single quotes from awk and just get the results of the command?
thanks a lot