Re: Working with zip files
- From
- David Lang <david@lang.hm>
- Date
- Aug 18, 2016, 16:56 UTC
- Message-ID
- <alpine.DEB.2.02.1608180954400.11774@nftneq.ynat.uz>
- In-Reply-To
- <12866c04-f910-2a83-b445-6eada3d2efc9@gmail.com>
On Thu, 18 Aug 2016, Jakub Narębski wrote:
Show 10 quoted lines
> JN>> You can find rezip clean/smudge filter (originally intended for > JN>> OpenDocument Format (ODF), that is OpenOffice.org etc.) that stores > JN>> zip or zip-archive (like ODT, jar, etc.) uncompressed. I think > JN>> you can find it on GitWiki, but I might be mistaken. > > Using 'unzip -c' as separate / additional `textconv` filter for diff > generation allows to separate the problem of deltifiable storage format > from textual representation for diff-ing. > > Though best results could be had with `diff` and `merge` drivers...
can you point at an example of how to do this? when I went looking about a year ago to deal with single-line json data I wasn't able to find anything good. I ended up using clean/smudge to pretty-print the json so it was easier to handle.
David Lang