From rgorasso@granite.sentex.ca  Tue Aug  5 15:08:21 2003
Return-Path: <rgorasso@granite.sentex.ca>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5A06A37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  5 Aug 2003 15:08:21 -0700 (PDT)
Received: from smtp2.sentex.ca (smtp2.sentex.ca [199.212.134.9])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 782BB43FCB
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  5 Aug 2003 15:08:20 -0700 (PDT)
	(envelope-from rgorasso@granite.sentex.ca)
Received: from granite.sentex.ca (ns.sentex.ca [199.212.134.1])
	by smtp2.sentex.ca (8.12.9/8.12.9) with ESMTP id h75M8JbU032507
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 5 Aug 2003 18:08:19 -0400 (EDT)
	(envelope-from rgorasso@granite.sentex.ca)
Received: from granite.sentex.ca (localhost [127.0.0.1])
	by granite.sentex.ca (8.12.9/8.12.9) with ESMTP id h75M8Jo6099362
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 5 Aug 2003 18:08:19 -0400 (EDT)
	(envelope-from rgorasso@granite.sentex.ca)
Received: (from root@localhost)
	by granite.sentex.ca (8.12.9/8.12.9/Submit) id h75M8JTq099361;
	Tue, 5 Aug 2003 18:08:19 -0400 (EDT)
	(envelope-from rgorasso)
Message-Id: <200308052208.h75M8JTq099361@granite.sentex.ca>
Date: Tue, 5 Aug 2003 18:08:19 -0400 (EDT)
From: Rich Gorasso <rgorasso@sentex.net>
Reply-To: Rich Gorasso <rgorasso@sentex.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: typo in the man page for pw
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         55298
>Category:       docs
>Synopsis:       typo in the man page for pw
>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:   Tue Aug 05 15:10:13 PDT 2003
>Closed-Date:    Tue Aug 05 23:12:56 PDT 2003
>Last-Modified:  Tue Aug 05 23:12:56 PDT 2003
>Originator:     Rich Gorasso
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Sentex Communications
>Environment:
System: FreeBSD granite.sentex.ca 4.8-STABLE FreeBSD 4.8-STABLE #1: Wed May 21 16:40:30 EDT 2003 damian@newgranite.sentex.ca:/usr/obj/usr/src/sys/granite i386

>Description:
	The man page for pw reads "pw useradd", "pw userdel", "pw groupadd" etc but it really should read "pw user add", "pw user del", "pw group add" etc.   It's just a typo no big deal because if you do a "pw help" it show you the correct syntax.  Thanks for your time.
>How-To-Repeat:
	Type 'man pw'. Read.
>Fix:

	Insert spaces where appropriate.


>Release-Note:
>Audit-Trail:

From: Peter Pentchev <roam@ringlet.net>
To: Rich Gorasso <rgorasso@sentex.net>
Cc: bug-followup@FreeBSD.org
Subject: Re: docs/55298: typo in the man page for pw
Date: Wed, 6 Aug 2003 09:02:36 +0300

 On Tue, Aug 05, 2003 at 06:08:19PM -0400, Rich Gorasso wrote:
 > 
 > >Number:         55298
 > >Category:       docs
 > >Synopsis:       typo in the man page for pw
 > >Originator:     Rich Gorasso
 > >Release:        FreeBSD 4.8-STABLE i386
 > >Organization:
 > Sentex Communications
 > >Environment:
 > System: FreeBSD granite.sentex.ca 4.8-STABLE FreeBSD 4.8-STABLE #1: Wed May 21 16:40:30 EDT 2003 damian@newgranite.sentex.ca:/usr/obj/usr/src/sys/granite i386
 > 
 > >Description:
 > 	The man page for pw reads "pw useradd", "pw userdel", "pw groupadd" etc but it really should read "pw user add", "pw user del", "pw group add" etc.   It's just a typo no big deal because if you do a "pw help" it show you the correct syntax.  Thanks for your time.
 > >How-To-Repeat:
 > 	Type 'man pw'. Read.
 > >Fix:
 > 
 > 	Insert spaces where appropriate.
 
 [roam@straylight ~]> sudo pw useradd testuser
 otp-md5 372 stray ext
 Password:
 [roam@straylight ~]> finger testuser
 Login: testuser                         Name: User Testuser
 Directory: /home/testuser               Shell: /bin/sh
 Never logged in.
 No Mail.
 No Plan.
 [roam@straylight ~]> sudo pw userdel testuser
 [roam@straylight ~]> finger testuser
 finger: testuser: no such user
 [roam@straylight ~]>
 
 Seems just fine to me the way it is...
 Take a look a little further down in the pw(8) manual page, at the start
 of the second paragraph of the description, where it says:
 
  The first one or two keywords provided to pw on the command line provide
  the context for the remainder of the arguments.  The keywords user and
  group may be combined with add, del, mod, show, or next in any order.
  (For example, showuser, usershow, show user, and user show all mean the
  same thing.)
 
 Thus, pw(8) honors most of the syntax that could come to one's mind :)
 
 G'luck,
 Peter
 
 -- 
 Peter Pentchev	roam@ringlet.net    roam@sbnd.net    roam@FreeBSD.org
 PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
 Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
 If this sentence didn't exist, somebody would have invented it.
State-Changed-From-To: open->closed 
State-Changed-By: roam 
State-Changed-When: Tue Aug 5 23:12:23 PDT 2003 
State-Changed-Why:  
The pw(8) manual page already documents all four possible spellings of 
its command options. 
Still, thanks for trying to improve FreeBSD by reporting what you believed 
to be a genuine problem! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=55298 
>Unformatted:
