valdis.kletni...@vt.edu 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.

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

_______________________________________________
Nmh-workers mailing list
Nmh-workers@nongnu.org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to