#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@…):

 i understand your detailed explanation, but i'am not happy with the
 changed behaviour:
 e.g we have scripts like this:

 {{{
 LIST="$( uci get var )"
 for OBJ in $LIST; do ... ; done
 }}}

 the list elements are now:
 'a
 b
 c'

 i'am also not happy with the idea of a commandline switch for explicitely
 enable this new feature, because it makes sense in the long run and is
 good. can we agree to only add single-quotes, when list elements have
 whitespaces in? so we are at least backward compatible...

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