Skip site navigation (1)Skip section navigation (2)
Date:      16 Feb 2000 11:11:47 -0000
From:      keramida@ceid.upatras.gr
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/16754: csh.1 manpage correction
Message-ID:  <20000216111147.52920.qmail@hades.hell.gr>

next in thread | raw e-mail | index | archive | help

>Number:         16754
>Category:       docs
>Synopsis:       manpage of csh(1) error in "Argument list processing" section
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 16 15:30:03 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Giorgos Keramidas <keramida@ceid.upatras.gr>
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:

	(( uname -a ))
        FreeBSD hades.hell.gr 4.0-CURRENT FreeBSD
        4.0-CURRENT #0: Wed Feb 16 03:08:14 EET 2000
        toor@hades.hell.gr:/usr/src/sys/compile/HADES i386

>Description:

        The first paragraph of "Argument list processing" says that an
        argument of - will make csh be a login shell.  However, running
        csh with only a - as an argument fails with the error message.

>How-To-Repeat:

	$ csh -
	-: No such file or directory.

>Fix:

--- bin/csh/csh.1.orig	Tue Sep 14 14:46:01 1999
+++ bin/csh/csh.1	Wed Feb 16 13:03:05 2000
@@ -59,7 +59,7 @@
 It is used both as an interactive login shell and
 a shell script command processor.
 .Ss Argument list processing
-If the first argument (argument 0) to the shell is
+If the shell is executed with a program name starting with
 .Ql Fl \& ,
 then this is a login shell.
 A login shell also can be specified by invoking the shell with the 


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000216111147.52920.qmail>