X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com Date: Sat, 12 Sep 2009 11:06:39 +0300 From: Eli Zaretskii <eliz AT gnu DOT org> Subject: Re: Set default options In-reply-to: <7gvrf4F2qu23dU1@mid.individual.net> X-012-Sender: halo1 AT inter DOT net DOT il To: djgpp AT delorie DOT com Message-id: <83eiqc1t9s.fsf@gnu.org> References: <7gvrf4F2qu23dU1 AT mid DOT individual DOT net> Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: Robert Riebisch <Robert DOT Riebisch AT arcor DOT de> > Date: Fri, 11 Sep 2009 22:49:40 +0200 > > 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. 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 $*