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

Re: system/1944: "cvs -" doesn't specify a login shell



The following reply was made to PR system/1944; it has been noted by GNATS.

From: Heikki Korpela <heko_(_at_)_iki_(_dot_)_fi>
To: <dschwarz_(_at_)_wall_(_dot_)_st>
Cc: <gnats_(_at_)_openbsd_(_dot_)_org>
Subject: Re: system/1944: "cvs -" doesn't specify a login shell 
Date: Tue, 17 Jul 2001 14:15:22 +0300 (EEST)

 On 17 Jul 2001 dschwarz_(_at_)_wall_(_dot_)_st wrote:
 
 > 	according to csh(1)'s man page, if the first argument to the shell is a dash,
 > then specify a login shell. this isn't the case.
 
 > 	wall:~$ csh -
 > -: No such file or directory.
 
 Here, '-' is argv[1], not argv[0]. Manual page may be confusing for
 beginners, but it's not wrong.
 
 csh is a login shell when it's invoked *starting with* '-' (e.g. -csh),
 i.e.  argv[0].
 
 -- 
 <---------------------------------------------------------------------->
           Heikki Korpela -- heko_(_at_)_iki_(_dot_)_fi -- http://iki.fi/heko/
 
 



Visit your host, monkey.org