[Top][All Lists]

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

Re: [Nmh-workers] More than one parameters in .mh_profile

From: Paul Fox
Subject: Re: [Nmh-workers] More than one parameters in .mh_profile
Date: Wed, 30 May 2012 15:47:41 -0400

address@hidden wrote:
 > > No `#'?  How about just always send to the user's shell from the
 > > password entry with a -c, as distinct from /bin/sh.
 > The problem is that some people (at least in the Elder TImes) would have
 > their login shell set to /bin/csh but they'd want their scripty things done 
 > in
 > /bin/sh.  (I used to do that myself, way back when csh had ! history and sh
 > didn't until it became bash).

the request that started this thread was simply to be able to use
"less -force" instead of "less" as moreproc.  many more clever tricks
(pipelines, redirection) are the same in most shells, and users
(especially mh users!) are adaptable: they can either write their
scriptlet in sh syntax even if it's not their favorite, or create a
wrapper if it needs to be in scsh.

summary:  i think passing any moreproc entry that contains whitespace
to "/bin/sh -c '%s'", and documenting it as such, would be fine. 
processes aren't nearly as expensive as they used to be.

p.s. incidentally, mh-profile.5 mentions $SHELL only in the context
of bbl, which no longer exists.
 paul fox, address@hidden (arlington, ma, where it's 67.6 degrees)

reply via email to

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