Thanks for reporting this. It was discovered by me also and
fixed in the latest packages which will be available from
oss.sgi.com/projects/csa by the end of this week.
I made the following change so that the length of any
column value doesn't cause the output line to be broken into two
separate lines:
_blocks=`df -kP ${_ACCT_FS} | awk '/Avail/ {next} /.*/ {print $4}'`
For example, on one of our lab test machines, df -k gives the
following output:
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/ide/host0/bus0/target0/lun0/part1
6000880 4473680 1222372 79% /
But, df -kP keeps the output all on one line so that awk will
work as expected:
Filesystem 1024-blocks Used Available Capacity Mounted on
/dev/ide/host0/bus0/target0/lun0/part1 6000880 4473680 1222372
---
Marlys Kohnke Silicon Graphics Inc.
kohnke@xxxxxxx 655F Lone Oak Drive
(651)683-5324 Eagan, MN 55121
|