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

 * cc: yszhou4tech@… (added)


Comment:

 This seems to have been added intentionally, so that you can tell apart
 different list entries even if they contain whitespaces.
 It would allow you to do something like this:

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

 It was added in uci commit ec302c635b27e212c2df5ce3378fd94edfbfd886.

 I think it might make sense to rework this to only enable this new
 behavior through a command line flag.

--
Ticket URL: <https://dev.openwrt.org/ticket/19539#comment:3>
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