From keramida@diogenis.ceid.upatras.gr  Wed Feb 16 14:42:23 2000
Return-Path: <keramida@diogenis.ceid.upatras.gr>
Received: from builder.freebsd.org (builder.FreeBSD.ORG [204.216.27.24])
	by hub.freebsd.org (Postfix) with ESMTP id 5A5E137B592
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 16 Feb 2000 14:42:23 -0800 (PST)
	(envelope-from keramida@diogenis.ceid.upatras.gr)
Received: from mx2.x-treme.gr (mx2.x-treme.gr [212.120.192.15])
	by builder.freebsd.org (Postfix) with ESMTP id A76F6132E2
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 16 Feb 2000 14:41:41 -0800 (PST)
Received: from hades.hell.gr (pat28.x-treme.gr [212.120.197.220])
	by mx2.x-treme.gr (8.9.3/8.9.3/IPNG-ADV-ANTISPAM-0.1) with SMTP id AAA28419
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 17 Feb 2000 00:42:09 +0200
Received: (qmail 52926 invoked by uid 1001); 16 Feb 2000 11:11:48 -0000
Message-Id: <20000216111147.52920.qmail@hades.hell.gr>
Date: 16 Feb 2000 11:11:47 -0000
From: keramida@ceid.upatras.gr
Sender: keramida@diogenis.ceid.upatras.gr
Reply-To: keramida@ceid.upatras.gr
To: FreeBSD-gnats-submit@freebsd.org
Subject: csh.1 manpage correction
X-Send-Pr-Version: 3.2

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 16 15:30:03 PST 2000
>Closed-Date:    Wed Feb 16 19:30:10 PST 2000
>Last-Modified:  Wed Feb 16 19:30:50 PST 2000
>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:
State-Changed-From-To: open->closed 
State-Changed-By: unfurl 
State-Changed-When: Wed Feb 16 19:30:10 PST 2000 
State-Changed-Why:  
corrected csh(1) incorrectness per supplied patch 
>Unformatted:
