home
/
code
/
khatus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
src/awk/lib/alert.awk
@@ -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.023043 seconds
and
4
git commands to generate.