[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dispatch program
From: |
Thien-Thi Nguyen |
Subject: |
Re: dispatch program |
Date: |
Mon, 14 May 2012 11:40:01 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) |
() Paul Eggert <address@hidden>
() Tue, 17 Jan 2012 14:56:05 -0800
On 01/17/12 00:00, Thien-Thi Nguyen wrote:
> Much less hassle: "If the system has grcs, it is
> new-style; if not, old-style".
On the contrary, that heuristic is more hassle, because it does
not work as stated. grcs is commonly used as the name
of the old-fashioned 'rcs' command, right now. See, for example,
<http://www.openbsd.org/4.5_packages/i386/grcs-5.7p0.tgz-contents.html>.
One could get the heuristic to work, but at that point it becomes
too much hassle. For example, this:
if (grcs --version) >/dev/null 2>&1; then
rcs_style=new
else
rcs_style=old
fi
is just as complicated as this:
if (rcs --commands) >/dev/null 2>&1; then
rcs_style=new
else
rcs_style=old
fi
and the whole thing becomes more confusing to users.
Let's keep it simple and stick with plain "rcs" for RCS commands.
OK, you've convinced me.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: dispatch program,
Thien-Thi Nguyen <=