💾 Archived View for heavysquare.com › unix › 9968-poor-mans-state-monitoring.txt captured on 2021-12-04 at 18:04:22.

View Raw

More Information

⬅️ Previous capture (2021-12-03)

-=-=-=-=-=-=-

% cat wa.test   
ERROR   unable to connect imaps://..
INFO    no PR requests
INFO    no new email
FIXME   CI, unit tests - branch x
% cat wa.sh     
watch -x --color \
  source-highlight \
  --lang-def=wa.lang \
  --outlang-def=wa.outlang \
  --style-file=wa.style \
  -i wa.test
% cat wa.lang   
err = '^ERROR.*'
fix = '^FIXME.*'
inf = '^INFO.*'
% vi wa.style  
% cat wa.style
err "41";
fix "32" b;
% cat wa.outlang 
styletemplate "\x1b[$stylem$text\x1b[m"
styleseparator ";"

bold "01$style"
underline "04$style"
italics "$style"
color "$style"

# 00=none 01=bold 04=underscore 05=blink 07=reverse 08=concealed,
# fg 30=black 31=red 32=green 33=yellow 34=blue 35=magenta 36=cyan 37=white
# bg 40=black 41=red 42=green 43=yellow 44=blue 45=magenta 46=cyan 47=white
%