4 # Set the correct value as any other AWK variable:
6 # khatus_actuate_alert_to_notify_send -v display="$CORRECT_DISPLAY"
9 FS = msg_fs ? msg_fs
: "|"
10 OFS = msg_fs ? msg_fs
: "|"
11 Kfs = key_fs ? key_fs
: ":"
20 # Not just using $6 for body - because body might contain a character
23 len_head =
length($
1 FS $
2 FS $
3 FS $
4 FS $
5 FS)
24 len_body = len_line
- len_head
25 body =
substr($
0, len_head
+ 1, len_body
)
27 sep = body ?
"\n" : ""
28 body = body sep
"--" src
30 sub("hi" , "critical", urgency
)
31 sub("med", "normal" , urgency
)
35 "DISPLAY=%s notify-send -u %s %s \" %s\"",
36 display
, urgency
, subject
, body \
This page took 0.071356 seconds and 4 git commands to generate.