all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Timur Aydin <timuraydin@superonline.com>
Subject: find-dired problems
Date: 12 Dec 2002 00:47:02 +0200	[thread overview]
Message-ID: <uisy0kwbd.fsf@superonline.com> (raw)

Hi,

I'm having trouble getting "find-dired" to behave correctly.

Here is what I do:

1) I open a directory using dired
2) I do M-x find-dired, accept the directory offered and specify
   Makefile as the file to find.

Here is what emacs comes back with:

  d:/BCMDEV/:
  find . \( Makefile \) -exec ls -ld {} \;
  find: paths must precede expression
  Usage: find [path...] [expression]
  
  find exited abnormally with code 1 at Thu Dec 12 00:39:28

I tried using find-name-dired and find-grep-dired. All of them give
errors:

find-name-dired, directory is d:/BCMDEV, pattern is Mak*

  d:/BCMDEV/:
  find . \( -name 'Mak*' \) -exec ls -ld {} \;
  find: missing argument to `-exec'
  
  find exited abnormally with code 1 at Thu Dec 12 00:45:04

find-grep-dired, directory is d:/BCMDEV, pattern is ALIGN

  d:/BCMDEV/:
  find . \( -type f -exec grep -q ALIGN {} \;  \) -exec ls -ld {} \;
  find: missing argument to `-exec'
  
  find exited abnormally with code 1 at Thu Dec 12 00:46:35

What am I doing wrong?

I am using emacs 21.2 on W2000 and Cygwin is installed on this
system. Cygwin is located in c:\cygwin and:

HOMEDRIVE=C:
HOMEPATH=\cygwin\home\tayd.

--
Timur.

             reply	other threads:[~2002-12-11 22:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-11 22:47 Timur Aydin [this message]
2002-12-12  6:24 ` find-dired problems Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uisy0kwbd.fsf@superonline.com \
    --to=timuraydin@superonline.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.