On Fri, 2006-10-27 at 17:30 +1300, [EMAIL PROTECTED] wrote:
Hi all,
How do I parse or evaluate the output of UNIX commands?
For example, in UNIX scripts, I can run filesystem=`df -k | awk -F ' { print
$6 }'` to check for the mount points.
How do I achieve the same in Perl? That is, I
Hi,
[EMAIL PROTECTED] asked:
How do I parse or evaluate the output of UNIX commands?
For example, in UNIX scripts, I can run filesystem=`df -k |
awk -F ' { print
$6 }'` to check for the mount points.
How do I achieve the same in Perl? That is, I tried:
Essentially in the same way -
[EMAIL PROTECTED] wrote:
Hi all,
Hello,
How do I parse or evaluate the output of UNIX commands?
For example, in UNIX scripts, I can run filesystem=`df -k | awk -F ' { print
$6 }'` to check for the mount points.
How do I achieve the same in Perl? That is, I tried:
#!/usr/bin/perl