opensubscriber
   Find in this group all groups
 
Unknown more information…

h : help-rcs@gnu.org 18 January 2012 • 6:56AM -0500

Re: dispatch program
by Paul Eggert

REPLY TO AUTHOR
 
REPLY TO GROUP




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.


Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.