[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 Vixie
Subject: Re: [Nmh-workers] More than one parameters in .mh_profile
Date: Wed, 30 May 2012 02:19:35 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1

On 2012-05-29 10:36 PM, Tethys wrote:
> address@hidden writes:
>>> 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.
> In which case, couldn't they just do "sh -c whatever" as the thing that
> would get passed to their login shell (i.e., csh)? It's a bit clumsy,
> but it should work for the few people that are in that situation.

for that we have getenv('SHELL'), which is far more closely related to
the user's preferred command language than either their login shell or
the posix standard are going to be.

reply via email to

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