From cosine@geodesic.homeunix.org  Sun Jul 20 10:31:50 2003
Return-Path: <cosine@geodesic.homeunix.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7676E37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 20 Jul 2003 10:31:50 -0700 (PDT)
Received: from geodesic.homeunix.org (pool-141-149-210-76.syr.east.verizon.net [141.149.210.76])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8EE1443F3F
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 20 Jul 2003 10:31:49 -0700 (PDT)
	(envelope-from cosine@geodesic.homeunix.org)
Received: from geodesic.homeunix.org (localhost [127.0.0.1])
	by geodesic.homeunix.org (8.12.9/8.12.9) with ESMTP id h6KH76MO053893
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 20 Jul 2003 13:07:06 -0400 (EDT)
	(envelope-from cosine@geodesic.homeunix.org)
Received: (from cosine@localhost)
	by geodesic.homeunix.org (8.12.9/8.12.9/Submit) id h6KH75uG053892;
	Sun, 20 Jul 2003 13:07:05 -0400 (EDT)
Message-Id: <200307201707.h6KH75uG053892@geodesic.homeunix.org>
Date: Sun, 20 Jul 2003 13:07:05 -0400 (EDT)
From: Patrick Alken <pa59@cornell.edu>
Reply-To: Patrick Alken <pa59@cornell.edu>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: 'find' man page update
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         54667
>Category:       docs
>Synopsis:       'find' man page update
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    schweikh
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 20 10:40:16 PDT 2003
>Closed-Date:    Mon Jul 28 09:48:41 PDT 2003
>Last-Modified:  Mon Jul 28 09:48:41 PDT 2003
>Originator:     Patrick Alken
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD geodesic.homeunix.org 4.8-STABLE FreeBSD 4.8-STABLE #0: Fri Jul 4 17:08:49 EDT 2003 cosine@ellipse.fyzix.net:/home/obj/home/src/sys/GEODESIC i386


	
>Description:
  The find man page does not have adequate documentation for the -exec
feature. It tells you that the syntax is:

 -exec utility [argument ...];

However, it is necessary to escape the ; and also put a space between
the last character of the command and the escaped semicolon.

Example:

find . -name "*" -exec echo {};

seems to conform to the above syntax rules, however the correct command
is:

find . -name "*" -exec echo {} \;

The "\" is crucial, and so is the space between the {} and the \;.
>How-To-Repeat:
	
>Fix:

	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-doc->schweikh 
Responsible-Changed-By: schweikh 
Responsible-Changed-When: Fri Jul 25 09:51:52 PDT 2003 
Responsible-Changed-Why:  
I will look at this. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=54667 
State-Changed-From-To: open->patched 
State-Changed-By: schweikh 
State-Changed-When: Fri Jul 25 10:32:57 PDT 2003 
State-Changed-Why:  
5-CURRENT already has the space before the semicolon. 
I added a sentence about shells where you may need to quote 
the semicolon. Thanks for paying attention to detail! 
MFC in 3 days. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=54667 
State-Changed-From-To: patched->closed 
State-Changed-By: schweikh 
State-Changed-When: Mon Jul 28 09:48:16 PDT 2003 
State-Changed-Why:  
Committed to -STABLE. Thanks! 

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