all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Running find in the shell-command
@ 2006-10-17 13:01 md3bs
  2006-10-17 14:29 ` Fang lun gang
  2006-10-17 14:51 ` Peter Dyballa
  0 siblings, 2 replies; 4+ messages in thread
From: md3bs @ 2006-10-17 13:01 UTC (permalink / raw)


How do I delimit the following code so it will work in shell-command

M-!
find . -maxdepth 1 -name "*.php" -exec ls -ld {} \;

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

* Re: Running find in the shell-command
  2006-10-17 13:01 Running find in the shell-command md3bs
@ 2006-10-17 14:29 ` Fang lun gang
  2006-10-17 15:53   ` David Hansen
  2006-10-17 14:51 ` Peter Dyballa
  1 sibling, 1 reply; 4+ messages in thread
From: Fang lun gang @ 2006-10-17 14:29 UTC (permalink / raw)


why not 

M-x grep-find <ret>

-- 
Regards,
Fang lun gang

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

* Re: Running find in the shell-command
  2006-10-17 13:01 Running find in the shell-command md3bs
  2006-10-17 14:29 ` Fang lun gang
@ 2006-10-17 14:51 ` Peter Dyballa
  1 sibling, 0 replies; 4+ messages in thread
From: Peter Dyballa @ 2006-10-17 14:51 UTC (permalink / raw)
  Cc: help-gnu-emacs


Am 17.10.2006 um 15:01 schrieb md3bs:

> How do I delimit the following code so it will work in shell-command
>
> M-!
> find . -maxdepth 1 -name "*.php" -exec ls -ld {} \;

Why do you want to delimit anything? Did something fail that you  
think you have to?

If the command works in your usual shell it should work in Emacs'  
shell-command, too.

--
Greetings

   Pete

  "A designer knows he has arrived at perfection not when there is no  
longer anything to add, but when there is no longer anything to take  
away."
                                  -- Antoine de Saint-Exupéry

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

* Re: Running find in the shell-command
  2006-10-17 14:29 ` Fang lun gang
@ 2006-10-17 15:53   ` David Hansen
  0 siblings, 0 replies; 4+ messages in thread
From: David Hansen @ 2006-10-17 15:53 UTC (permalink / raw)


On Tue, 17 Oct 2006 22:29:44 +0800 Fang lun gang wrote:

> why not 
>
> M-x grep-find <ret>

In this case better `find-name-dired'.

David

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

end of thread, other threads:[~2006-10-17 15:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-17 13:01 Running find in the shell-command md3bs
2006-10-17 14:29 ` Fang lun gang
2006-10-17 15:53   ` David Hansen
2006-10-17 14:51 ` Peter Dyballa

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.