#19539: uci / regression / lists contain wrong chars
------------------------+------------------------
  Reporter:  bittorf@…  |      Owner:  developers
      Type:  defect     |     Status:  new
  Priority:  normal     |  Milestone:
 Component:  packages   |    Version:  Trunk
Resolution:             |   Keywords:
------------------------+------------------------

Comment (by bittorf@…):

 > eval "set -- $(uci get network.@x[0].y)"; echo $1

 the problem is, that you *dont know* if your "get" is
 on a 'list' or or normal 'option'. it breaks especially:

 {{{
 VAR="$( uci get var )"
 }}}

 where you end up with changed content...

--
Ticket URL: <https://dev.openwrt.org/ticket/19539#comment:4>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to