On 2014-05-30 Jim Michaels <jmich...@yahoo.com> 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