[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[wdiff-bugs] Re: Suggestion for wdiff
From: |
François Pinard |
Subject: |
[wdiff-bugs] Re: Suggestion for wdiff |
Date: |
Sat, 17 Jul 2010 21:38:01 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.10) Gecko/20100527 Lightning/1.0b1 Thunderbird/3.0.5 |
Hello, Andrea.
I'm daring a copy to wdiff people, hoping you'll not mind.
I transmitted the maintenance duties of wdiff, a while ago.
The current maintainers or users might feel like commenting
on the issue you raise. Let me quote your message first:
Le 2010-04-13 12:52, Andrea Corbellini a écrit :
> Hi there,
>
> I'm using GNU wdiff 0.5 and I find it a really useful tool. I would like
> to request a feature: an option to pass two strings to compare directly
> to wdiff without having to use two files.
>
> In other words I would like do avoid doing this:
>
> $ echo "old string" > 1
> $ echo "new string" > 2
> $ wdiff 1 2
>
> This could be implemented with two options like this:
>
> $ wdiff --strings "old string" "new string"
>
>
> Thanks,
> Andrea
>
Using wdiff 0.6.3 from bash, one can use the following idiom to get a
similar effect:
$ wdiff <(echo 'old string') <(echo 'new string')
[-old-]{+new+} string
The trick does not work with wdiff 0.5, likely buggy in this area.
Have a nice day, everybody!
P.S. I do not know yet if this message will leave my machine in ASCII
or in HTML. I wish Thunderbird will give me the choice at send time.
I'm just finding out that it does not comply with Shift-Reply to force
ASCII, this appears to be related to the original message being
PGP-signed. Sigh!
discovering that it does not obey "Shift-reply" to force ASCII, if
--
François Pinard http://pinard.progiciels-bpi.ca
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [wdiff-bugs] Re: Suggestion for wdiff,
François Pinard <=