[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.
paul
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)
- Re: [Nmh-workers] More than one parameters in .mh_profile, (continued)
- Re: [Nmh-workers] More than one parameters in .mh_profile, Ken Hornstein, 2012/05/28
- Re: [Nmh-workers] More than one parameters in .mh_profile, Ralph Corderoy, 2012/05/29
- Re: [Nmh-workers] More than one parameters in .mh_profile, valdis . kletnieks, 2012/05/29
- Re: [Nmh-workers] More than one parameters in .mh_profile, Kevin Cosgrove, 2012/05/29
- Re: [Nmh-workers] More than one parameters in .mh_profile, Paul Vixie, 2012/05/29
- Re: [Nmh-workers] More than one parameters in .mh_profile, Ralph Corderoy, 2012/05/29
- Re: [Nmh-workers] More than one parameters in .mh_profile, Tethys, 2012/05/29
- Re: [Nmh-workers] More than one parameters in .mh_profile, Jerrad Pierce, 2012/05/29
- Re: [Nmh-workers] More than one parameters in .mh_profile, Paul Vixie, 2012/05/29
- Re: [Nmh-workers] More than one parameters in .mh_profile, Lyndon Nerenberg, 2012/05/29
- Re: [Nmh-workers] More than one parameters in .mh_profile,
Paul Fox <=
- Re: [Nmh-workers] More than one parameters in .mh_profile, Ralph Corderoy, 2012/05/30
- Re: [Nmh-workers] More than one parameters in .mh_profile, Ken Hornstein, 2012/05/30
Re: [Nmh-workers] More than one parameters in .mh_profile, Aleksander Matuszak, 2012/05/30
Re: [Nmh-workers] More than one parameters in .mh_profile, David Levine, 2012/05/30