1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-21 18:41:03 +00:00

using bash instead of ksh. it should be quite compatible. better would be a proper port to sh (or better, perl)

This commit is contained in:
Steve Schnepp 2012-03-18 12:40:03 +01:00
parent 219b679f5c
commit dec087a5ce

View file

@ -1,4 +1,4 @@
#!/bin/ksh
#!/bin/bash
# -*- sh -*-
: << =cut
@ -92,4 +92,4 @@ awk 'BEGIN{ FS="[ = ]" }
/-count / { nwhat = split($1, what, ".")
gsub(/-count/, "", what[nwhat])
print what[nwhat] ".value=" $NF}
'
'