Bug in find(1) in 4.2BSD?

Jerry Aguirre jerry at oliveb.UUCP
Wed Oct 10 04:28:37 AEST 1984


No the csh does not eat {}.  Actually I was supprised that it didn't as
{a,b}c does have special meaning to the csh.  Apparently the shell
recognizes that {} cannot be expanded and so leaves it alone.  The real
problem with the posted line is that there is no space between the {}
and the \;.  That is:

	find . -name something -exec ls -l {}\;
    won't work but
	find . -name something -exec ls -l {} \;
    will. 			  Note space ^

Remember that the \; is the terminating argument for the string of
arguments beginning with -exec.  To be recognized it must be a separate
argument.

					    Jerry Aguirre
{hplabs|fortune|idi|ihnp4|ios|tolerant|allegra|tymix}!oliveb!jerry



More information about the Comp.bugs.4bsd.ucb-fixes mailing list