add license and author
[usb-wde1-tools.git] / munin / log-single-line.sh
index fe730f3b74a7d93aab8dc310819969c2552ee8fa..3ee3f64d130016b51e82524f2ffbf6939a3572c6 100755 (executable)
@@ -1,6 +1,9 @@
 #!/bin/sh
-#Logs a single line into the log file passed as script parameter
-# adds timestamp to the logview openformat lines
+# Logs a single line into the log file passed as script parameter
+#  and adds timestamp to the logview openformat lines
+#
+# License: http://www.gnu.org/licenses/agpl.html AGPL
+# Author: Christian Weiske <cweiske@cweiske.de>
 
 file="$1"
 if [ "x$file" = "x" ]; then
@@ -8,12 +11,7 @@ if [ "x$file" = "x" ]; then
     exit 1
 fi
 
-#Beispielausgabe USB-WDE1:
 # $1;1;;13,8;22,7;22,6;17,8;22,2;21,2;22,9;;59;35;38;49;38;40;35;;;;;;;0
-# Doku des Formats in 92030_USB_WDE1_V1.0_UM.pdf bei elv.de verfügbar
-# Format ist "Logview openformat"
-# http://www.logview.info/cms/d_formatbeschreibung.phtml
-
 while read -r line
 do
     beginning=`echo "$line"|cut -b 1-3`