Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Jul 2003 13:07:05 -0400 (EDT)
From:      Patrick Alken <pa59@cornell.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/54667: 'find' man page update
Message-ID:  <200307201707.h6KH75uG053892@geodesic.homeunix.org>
Resent-Message-ID: <200307201740.h6KHeHgY063698@freefall.freebsd.org>

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

>Number:         54667
>Category:       docs
>Synopsis:       'find' man page update
>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:   Sun Jul 20 10:40:16 PDT 2003
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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