[OpenWrt-Devel] [PATCH] because -e xx , only export one value. I try to get all value by one call. So I add '; ' in -e parameters.

Jo-Philipp Wich jow at openwrt.org
Tue Aug 19 05:01:20 EDT 2014


Hi Liu Bo,

was there any particular reason why you couldn't use multiple "-e" 
arguments? That should produce the very same results without using ";"

jsonfilter -s '{"a":"b","e":{"a":"c"}}' -e "t=$['a']" -e "y=$['e']['a']"
export t='b'; export y='c';

~ Jow
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list