I'm writing a simple osd_cat-based utility to display messages received through libpurple (via Finch or Pidgin, for example).As of now, this is what I have managed to create:dbus-monitor interface=im.pidgin.purple.PurpleInterface, member=ReceivedImMsg | awk '/string/ && (NR%2==1) {split($0, sender, \) }; /string/ && (NR%2==0) {print sender[2] :  substr($0,11) }' | osd_cat --pos=top --align=right --indent=8 -O 4 -u whiteOr split into multiple lines for enhanced reading pleasure:dbus-monitor interface=im.pidgin.purple.PurpleInterface, member=ReceivedImMsg | awk '/string/ && (NR%2==1) {split($0, sender, \) };        /string/ && (NR%2==0) {print sender[2] :  substr($0,11) }' | osd_cat --pos=top --align=right --indent=8 -O 4 -u whiteI did some experimenting, and found following to work:yes | osd_catecho text | osd_catdbus-monitor | osd_catdbus-monitor | awk '{print $0}' | osd_catdbus-monitor interface=im.pidgin.purple.PurpleInterface, member=ReceivedImMsg | osd_catBut following do not work:dbus-monitor | awk '{print $1 $2}' | osd_catdbus-monitor interface=im.pidgin.purple.PurpleInterface, member=ReceivedImMsg | awk '{print $0}' |osd_catI am completely lost.
Why does the following osd_cat script fail?
linux;notifications