git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Working with zip files

From
DLDavid 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
Previous: Jakub NarębskiNext: Jakub Narębski
Message 9 of 14 in “Working with zip files”
  1. Nikolaus RathAug 16, 2016
  2. David LangAug 16, 2016
  3. Nikolaus RathAug 16, 2016
  4. David LangAug 16, 2016
  5. Junio C HamanoAug 16, 2016
  6. Jakub NarębskiAug 16, 2016
  7. Junio C HamanoAug 16, 2016
  8. Jakub NarębskiAug 18, 2016
  9. David LangAug 18, 2016
  10. Jakub NarębskiAug 18, 2016
  11. David LangAug 19, 2016
  12. Nikolaus RathAug 16, 2016
  13. Jacob KellerAug 17, 2016
  14. David LangAug 17, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.