#9133: diff removed, but not scriptable replacement available
--------------------------+-----------------------------------
Reporter: anonymous | Owner: developers
Type: enhancement | Status: reopened
Priority: normal | Milestone: Barrier Breaker 14.07
Component: packages | Version: Trunk
Resolution: | Keywords: diff cmp busybox
--------------------------+-----------------------------------
Changes (by mystica555):
* status: closed => reopened
* resolution: fixed =>
Comment:
I don't think that CMP is a useful replacement.
I would much prefer a tool that produces unified diffs being available for
use in scripting on my router, to perhaps automate configuration merging,
and definitely for interactive work.
Curious: how much space was saved by removing 'diff'? how much less space
is saved by now having 'cmp'? is it a terribly large amount when
considering LZMA?
An update process for a config file that informs me in well-learned manner
of unified diff, which lines are different, and where, is quite a lot more
useful than
root@OpenWrt:~# cmp /etc/config/qos /etc/config/qos-opkg
/etc/config/qos /etc/config/qos-opkg differ: char 120, line 6
Yes, I can go in with vi; but not all changes are shown, and I do not know
what, if anything, past char 120 has changed.
--
Ticket URL: <https://dev.openwrt.org/ticket/9133#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