gnu-arch-users
[Top][All Lists]
Advanced

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

[Gnu-arch-users] Re: Passing additional options to `diff'


From: Matthieu MOY
Subject: [Gnu-arch-users] Re: Passing additional options to `diff'
Date: Wed, 14 Sep 2005 14:00:03 +0200 (CEST)
User-agent: SquirrelMail/1.4.4

Ludovic Courtès said:

> Has anyone been planning to implement a mechanism (environment variable,
> or maybe something in ~/.arch-params) to pass arbitrary options do
> `diff'?

Has been discussed here already. A small problem is the syntax to pass
several options. --diff-options "-a -b -c" is not really satisfying,
because baz would have to do the tokenization which is usually the task of
the shell. You can imagine --diff-options -a -b -c \; (like find -exec),
or --diff-option -a --diff-option -b --diff-option -c.

Anyway, this wouldn't be hard to implement.

Don't do this in a global way, this would break scripts and front-ends.

-- 
Matthieu





reply via email to

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