Hi List,

I'm looking to load some json text that's being piped through grep / sed /
awk into the json handling capabilities provided by
/usr/share/libubox/jshn.sh

Looking here:
https://git.openwrt.org/?p=project/libubox.git;a=blob;f=jshn.c;h=1b685e5fb0d853c4053389242b92c34967beb94f;hb=HEAD

I don't see any kind of handling of stdin. So I'm guessing that piping data
into the shell json handling code isn't an expected use case.

Does anyone have any suggestions beyond the obvious solution of loading the
data into a shell variable first?
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to