News for hackers. Stuff that matters.
Re:Awk driven IoT by js2 on Monday July 10, 2017 @05:25PM (#14739837)
Somewhat gratuitous use of awk. It could be bash driven IoT:

   ... | while read -r line; do
   file=
   case "$line" in
     *"03 52 c1 1a"*) echo "file1 "; file="file1.mp3" ;;
   esac
   if test -n "$file"; then
     mpg321 -q "$file" &
   fi
   done

There are no comments on this comment yet.