Bug#681018: How about a shell function?

2012-07-11 Thread Dave Ewart
On Tuesday, 10.07.2012 at 15:57 +, Christoph Anton Mitterer wrote: I suggest a shell function instead of an alias, perhaps something like this: I also thought about this at first (and writing one is obviously very simple and a one liner...) But a) The advantage of an alias is, that

Bug#681018: How about a shell function?

2012-07-10 Thread Dave Ewart
On Tuesday, 10.07.2012 at 02:45 +0200, Christoph Anton Mitterer wrote: That could of course automatically add -n to wdiff,... if it's really needed. It depends on your circumstances, but for use with colordiff it's required in order to catch diffs which cross multiple lines. colordiff

Bug#681018: How about a shell function?

2012-07-10 Thread Christoph Anton Mitterer
Hi Dave. On Tue, 2012-07-10 at 10:17 +0100, Dave Ewart wrote: It depends on your circumstances, but for use with colordiff it's required in order to catch diffs which cross multiple lines. colordiff processes each line as it reads it and thus the wdiff markers need to appear on each line: