- or download this
$SYS_NAME=`uname -s`;
if ($SYS_NAME =~ "AIX") {
...
`/usr/bin/df -k | /usr/bin/sort +6 >$FILE`;
}
# ...
- or download this
my @df_stdout;
if ($^O =~ /aix/i) {
...
for (@df_stdout) {
# Put your while loop body here...
}
- or download this
for (@df_stdout) {
- or download this
for my $line (@df_stdout) {