I use GNU diffutils very often. Shell is either command.com / cmd.exe or
bash.exe Is there any way to pass some default options to diff.exe? I'd
like to make "-aprNU5" default.
--
Robert Riebisch
Bitte NUR in der Newsgroup antworten!
Please reply to the Newsgroup ONLY!
You could define an alias in both Bash and cmd.exe (but not in
command.com, AFAIK). With cmd.exe, you say something like this
(untested):
doskey diff=diff -aprNU5 $*
On Sep 12, 3:06 am, Eli Zaretskii <e...@gnu.org> wrote:
> > From: Robert Riebisch <Robert.Riebi...@arcor.de>
Yes, that sounds right. Of course, CMD won't let you use aliases
inside .BAT scripts (while 4DOS or Bash will). What is the ideal place
for Bash, inside _bashrc?
Yes.
alias diff="diff -aprNU5"