unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* shell quoting
@ 2006-03-08 21:28 Florian Kaufmann
  2006-03-08 21:52 ` Florian Kaufmann
  2006-03-08 22:24 ` Eli Zaretskii
  0 siblings, 2 replies; 4+ messages in thread
From: Florian Kaufmann @ 2006-03-08 21:28 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: shell quoting
@ 2006-03-08 23:02 bhenz
  0 siblings, 0 replies; 4+ messages in thread
From: bhenz @ 2006-03-08 23:02 UTC (permalink / raw)
  Cc: help-gnu-emacs-bounces+bhenz=lexmark.com, help-gnu-emacs


[-- Attachment #1.1: Type: text/plain, Size: 1034 bytes --]

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



[-- Attachment #1.2: Type: text/html, Size: 1972 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-03-08 23:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-08 21:28 shell quoting Florian Kaufmann
2006-03-08 21:52 ` Florian Kaufmann
2006-03-08 22:24 ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2006-03-08 23:02 bhenz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).