docs/54667: 'find' man page update

Patrick Alken pa59 at cornell.edu
Sun Jul 20 17:40:19 UTC 2003


>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 at 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:



More information about the freebsd-doc mailing list