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

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

Re: [Gnu-arch-users] feature plans from over here....


From: Michael Poole
Subject: Re: [Gnu-arch-users] feature plans from over here....
Date: 17 Aug 2004 18:16:02 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

Phil Frost writes:

> On Tue, Aug 17, 2004 at 02:50:38PM -0400, Michael Poole wrote:
> > Phil Frost writes:
> > 
> > > One thing that would be especially useful is to have a set of platform
> > > specific ~/.arch-params/hook.
> > 
> > What would this do differently from having ~/.arch-parms/hook as a
> > /bin/sh script that behaves differently depending on the output of
> > uname (or similar commands)?
> > 
> > Michael Poole
> 
> Not all platforms have uname.

Do these platforms without uname have /bin/sh?  In general, I find
that having code in one file (e.g. ~/.arch-params/hook) is easier than
having it in several -- there tend to be more shared bits than unique
bits.  As long as there is some common interpreter between two
platforms, it seems cleaner to have the two share a hook script.

I can understand having Win32-native tla use a different name for its
hook script, but having different Unix platforms use different names
seems non-Unixy.

Michael Poole




reply via email to

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