From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Lee Newsgroups: gmane.emacs.help Subject: Re: eshell: find: missing argument to `-exec' ? Date: Fri, 11 Sep 2009 11:53:15 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <123f4568-dd1d-450d-81e2-bea9dbd85b69@x5g2000prf.googlegroups.com> <7cbplhodme.fsf@anevia.com> <9a227d4c-aa87-4222-95bd-6afb30077d9c@j9g2000prh.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1252742278 18821 80.91.229.12 (12 Sep 2009 07:57:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Sep 2009 07:57:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 12 09:57:51 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MmNUT-0004pS-Th for geh-help-gnu-emacs@m.gmane.org; Sat, 12 Sep 2009 09:57:50 +0200 Original-Received: from localhost ([127.0.0.1]:51919 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MmNUT-0006LC-EC for geh-help-gnu-emacs@m.gmane.org; Sat, 12 Sep 2009 03:57:49 -0400 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!v37g2000prg.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-NNTP-Posting-Host: 76.102.12.87 Original-X-Trace: posting.google.com 1252695196 7187 127.0.0.1 (11 Sep 2009 18:53:16 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 11 Sep 2009 18:53:16 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: v37g2000prg.googlegroups.com; posting-host=76.102.12.87; posting-account=bRPKjQoAAACxZsR8_VPXCX27T2YcsyMA User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.43 Safari/530.5, gzip(gfe), gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:172933 X-Mailman-Approved-At: Sat, 12 Sep 2009 03:51:19 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:68068 Archived-At: On Sep 11, 11:45 am, Xah Lee wrote: > none of the suggestions seems to work so far. > > c:\Users\xah\Documents\vrici\cabdei>find . -name "*sch*" -exce echo \ > {} \; > find . -name "*sch*" -exce echo \{} \; > find: unknown predicate `-exce' > > c:\Users\xah\Documents\vrici\cabdei>find . -name "*sch*" -exce echo \ > {\} \; > find . -name "*sch*" -exce echo \{\} \; > find: unknown predicate `-exce' > > c:\Users\xah\Documents\vrici\cabdei>find . -name "*sch*" -exce echo {} > ';' > find . -name "*sch*" -exce echo {} ';' > find: unknown predicate `-exce' > > c:\Users\xah\Documents\vrici\cabdei>find . -name "*sch*" -exce echo > '{}' ';' > find . -name "*sch*" -exce echo '{}' ';' > find: unknown predicate `-exce' > > this appears to be a bug? Sorry, i had big typo in the above. This works: find . -name "*sch*" -exec echo {} ';' Thanks. Still, this probably should probably be considered a bug. Is there some technical reason eshell having problems with the \; ? Xah