#19578: uci show / regression / output contains single quotes
-----------------------+------------------------
 Reporter:  bittorf@…  |      Owner:  developers
     Type:  defect     |     Status:  new
 Priority:  normal     |  Milestone:
Component:  packages   |    Version:  Trunk
 Keywords:             |
-----------------------+------------------------
 older version of uci:

 {{{
 root@bueronas:~ uci show | grep ^system | head -n2
 system.@system[0]=system
 system.@system[0].hostname=bueronas
 }}}

 now (e.g. r45455)
 {{{
 root@box:~ uci show | grep ^system | head -n2
 system.@system[0]=system
 system.@system[0].hostname='box'
                            ^^^^^ single quotes
 }}}

 this breaks scripts, e.g.:
 {{{
 uci show network.@switch_vlan[] | grep =switch0
 }}}

 and there is no need for the single quotes

--
Ticket URL: <https://dev.openwrt.org/ticket/19578>
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