bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug#377600: please support -R to reverse diff (fwd)


From: Paul Jarc
Subject: Re: Bug#377600: please support -R to reverse diff (fwd)
Date: Sat, 15 Jul 2006 15:08:26 -0400
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux)

martin f krafft <address@hidden> wrote:
> Nevertheless, the bug report was filed because I think that the -R
> option would save the user typing. Compare:
>
>   cp file{,.orig} && diff -R file*
>
> with
>
>   cp file{,.orig} && diff file{.orig,}
>
> with
>
>   cp file{,.orig} && diff file* | interdiff - /dev/null

Also consider:

$ cat > "$HOME"/bin/diffr <<EOT
#!/bin/sh
diff "$@" | interdiff - /dev/null
EOT
$ chmod +x "$HOME"/bin/diffr


paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]