From f2bfc85c6612a4e89b10791a421f21e6b769ceab Mon Sep 17 00:00:00 2001 From: Quanah Gibson-Mount Date: Sat, 13 Dec 2003 00:22:22 +0000 Subject: [PATCH] Print out partition data in a nice format --- check_afsspace | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/check_afsspace b/check_afsspace index 6253988..5fbd123 100755 --- a/check_afsspace +++ b/check_afsspace @@ -56,5 +56,11 @@ if (@warning) { print @warning; exit 1; } -print "@infos\n"; +foreach $l (@infos) { + chomp($l); + $l =~ s/Free space on partition //; + $l =~ s/ K blocks out of total /\//; + print "$l "; +} +print "\n"; exit 0; -- 2.39.5