[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: find 4.2.20-2 bug

From: Andreas Metzler
Subject: Re: find 4.2.20-2 bug
Date: Fri, 30 May 2014 17:55:47 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

On 2014-05-30 Jim Michaels <address@hidden> wrote:
> Thu 05/29/2014  1:53:34.03|d:\www\jimm|>find . -name "*.htm*" -exec grep 
> math.eval {} ; -print
> find: paths must precede expression
> Usage: find [-H] [-L] [-P] [path...] [expression]

You need to escape the ";" to make sure the shell passes it on to find.
find . -name "*.htm*" -exec grep math.eval {} \; -print

Also please upgrade to findutils 4.4.2. 4.2.20 is ancient (2005).

cu Andreas
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'

reply via email to

[Prev in Thread] Current Thread [Next in Thread]