Re-use AWK components
[khatus.git] / src / awk / lib / alert.awk
diff --git a/src/awk/lib/alert.awk b/src/awk/lib/alert.awk
new file mode 100755 (executable)
index 0000000..c043ea8
--- /dev/null
@@ -0,0 +1,6 @@
+function alert(priority, subject, body) {
+    # priority : "low" | "med" | "hi"
+    # subject  : string without spaces
+    # body     : anything
+    print("OK", "alert", priority, subject, body)
+}
This page took 0.03917 seconds and 4 git commands to generate.