all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* off-topic: Conversion multi-line diff to single-line
@ 2011-08-29  5:39 Werner LEMBERG
  2011-08-29 16:08 ` Stefan Monnier
  2011-08-29 21:04 ` Juri Linkov
  0 siblings, 2 replies; 6+ messages in thread
From: Werner LEMBERG @ 2011-08-29  5:39 UTC (permalink / raw)
  To: emacs-devel


Folks,


I have an off-topic question, and maybe you can help.  Is there a
program or script which converts the multiline chunks of diff (without
-u or -c) into single-line chunks?  This is, I want to have this

   XXX
   < foo1
   < foo2
   < foo3
   ---
   > bar1
   > bar2
   > bar3

converted into

   XXX
   < foo1
   ---
   > bar1
   YYY
   < foo2
   ---
   > bar2
   ZZZ
   > foo3
   ---
   < bar3

Such an output greatly simplifies comparison of large sorted word
lists with sparse or systematic insertions, deletions, or changes.


    Werner



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-09-03 10:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-29  5:39 off-topic: Conversion multi-line diff to single-line Werner LEMBERG
2011-08-29 16:08 ` Stefan Monnier
2011-08-29 21:04 ` Juri Linkov
2011-09-03  6:38   ` Werner LEMBERG
2011-09-03  9:42     ` Juri Linkov
2011-09-03 10:28       ` Werner LEMBERG

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.