Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Sep 2002 10:50:47 +0200
From:      Roman Neuhauser <neuhauser@bellavista.cz>
To:        rene@xs4all.nl
Cc:        questions@freebsd.org
Subject:   Re: find -exec : "no terminating ;"
Message-ID:  <20020924085047.GL30361@freepuppy.bellavista.cz>
In-Reply-To: <200209240844.g8O8iO162978@xs2.xs4all.nl>
References:  <200209240844.g8O8iO162978@xs2.xs4all.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
# rene@xs4all.nl / 2002-09-24 10:44:24 +0200:
>  $ find . -type f -exec cat {} >> r;
> find: -exec: no terminating ";"

    if you don't quote the semicolon your shell will eat it.

    % find . -type f -exec cat {} >> r \;

    but this is quite an abuse of the sorry animal.

    % cat `find . -type f` >> r

-- 
begin 666 nonexistent.vbs
FreeBSD 4.7-RC
10:47AM up 6 days, 18:01, 30 users, load averages: 0.05, 0.07, 0.07
end

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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