[SlugBug] bash script help
Alan Dawson
aland at burngreave.net
Thu Dec 17 14:00:51 GMT 2009
Hi,
I'm obviously having a senior moment here but
I have a bash script
http://pastebin.com/f2c827762
that looks for lines like
size=1024M
size=10G
in a file, loops over them, converts the gigs to megs and sums them.
Within the loop the values increase properly,
but when the loop terminates it returns the values from outside the loop
help!
--
Alan Dawson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <https://www.email-lists.org/pipermail/slugbug/attachments/20091217/ef8da250/attachment.bin>
More information about the SlugBug
mailing list