chill wrote: 
> Ahem.  It doesn't work reliably.  Not surprising for a JSON newbie I
> suppose.  It seems that the player details aren't always returned in the
> same order, so I can't 'awk' for the player name THEN the MAC address. 
> I was hoping to get away without parsing the JSON rigorously - is there
> an easy way to do that in a shell script?

pCP uses and includes 'JSON.awk' (https://github.com/step-/JSON.awk) to
parse json output.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=113661

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to