1 | cat pin.log | awk '/^\[PROV]/ { print $NF; fflush() }' | while read PIN_OUT; do notify-send -t 0 "BerryCast " "PIN: $PIN_OUT"; done |
müsste doch funktioniere oder ?
1 | cat pin.log | grep "[PROV]" | while read PIN_OUT; do notify-send -t 0 "BerryCast " "PIN: $PIN_OUT"; done |
tus, aber natürlich nicht ganz was es soll