From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bhenz@Lexmark.com Newsgroups: gmane.emacs.help Subject: Re: shell quoting Date: Wed, 8 Mar 2006 18:02:08 -0500 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1809526941==" X-Trace: sea.gmane.org 1141858976 328 80.91.229.2 (8 Mar 2006 23:02:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 8 Mar 2006 23:02:56 +0000 (UTC) Cc: help-gnu-emacs-bounces+bhenz=lexmark.com@gnu.org, help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 09 00:02:55 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FH7fq-0007sC-11 for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Mar 2006 00:02:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FH7fp-0000TP-H2 for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Mar 2006 18:02:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FH7fY-0000JQ-1b for help-gnu-emacs@gnu.org; Wed, 08 Mar 2006 18:02:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FH7fX-0000J7-L6 for help-gnu-emacs@gnu.org; Wed, 08 Mar 2006 18:02:11 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FH7fW-0000Fo-SR; Wed, 08 Mar 2006 18:02:10 -0500 Original-Received: from [192.146.101.72] (helo=sw3.lexmark.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FH7iS-0000Vc-PI; Wed, 08 Mar 2006 18:05:12 -0500 Original-To: "Florian Kaufmann" X-Mailer: Lotus Notes Release 5.0.12 February 13, 2003 X-MIMETrack: Serialize by Router on smtp5b/Lex/Lexmark(Release 6.5.4FP1 | June 19, 2005) at 03/08/2006 18:02:09, Serialize complete at 03/08/2006 18:02:09 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:33662 Archived-At: This is a multipart message in MIME format. --===============1809526941== Content-Type: multipart/alternative; boundary="=_alternative 007ED8FA8525712B_=" This is a multipart message in MIME format. --=_alternative 007ED8FA8525712B_= Content-Type: text/plain; charset="us-ascii" I would normally issue the command as... find . -name \*cpp ... as for your actual question about how it works... I just stumble through with a combination of "", {}, '', and \. But I realize that's probably not the most effective method. :-( Bob "Florian Kaufmann" Sent by: help-gnu-emacs-bounces+bhenz=lexmark.com@gnu.org 03/08/2006 04:28 PM To: help-gnu-emacs@gnu.org cc: Subject: shell quoting Hello Can anyone direct me to information how quoting works in (shell-command) and (shell). I am used to bash. For example I entered, as I would in bash find . -name '*cpp' But then I get File not found - '*cpp' If I omit the ' it doesn't really get better. The answer now is FIND: Parameter format not correct I have the GNU Emacs Manual 21.2, but coudnt find anything. Thank you Florian Kaufmann _______________________________________________ help-gnu-emacs mailing list help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --=_alternative 007ED8FA8525712B_= Content-Type: text/html; charset="us-ascii"
I would normally issue the command as...

find . -name \*cpp

... as for your actual question about how it works... I just stumble through with a combination of "", {}, '', and \.  

But I realize that's probably not the most effective method.    :-(

Bob



"Florian Kaufmann" <sensorflo@gmail.com>
Sent by: help-gnu-emacs-bounces+bhenz=lexmark.com@gnu.org

03/08/2006 04:28 PM

       
        To:        help-gnu-emacs@gnu.org
        cc:        
        Subject:        shell quoting



Hello

Can anyone direct me to information how quoting works in
(shell-command) and (shell). I am used to bash. For example I entered,
as I would in bash

find . -name '*cpp'
But then I get
File not found - '*cpp'

If I omit the ' it doesn't really get better. The answer now is
FIND: Parameter format not correct

I have the GNU Emacs Manual 21.2, but coudnt find anything.

Thank you

Florian Kaufmann

_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs


--=_alternative 007ED8FA8525712B_=-- --===============1809526941== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ help-gnu-emacs mailing list help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============1809526941==--