A little perl magic might help:printf "status 0 1 tags:rate \nexit\n" | nc 127.0.0.1 9090 | perl -MURI::Escape -e 'my $br; while (<>){ /bitrate%3a(.*?) /i && ($br.=$1) } print uri_unescape( $br)'
Less pipes. More readable? Hmm... -- Michael _______________________________________________ diy mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/diy
