all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@is.elta.co.il>
Subject: Re: find-dired problems
Date: Thu, 12 Dec 2002 08:24:27 +0200 (IST)	[thread overview]
Message-ID: <Pine.SUN.3.91.1021212082130.15584J-100000@is> (raw)
In-Reply-To: <uisy0kwbd.fsf@superonline.com>


On 12 Dec 2002, Timur Aydin wrote:

>   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'm guessing that the problem is caused by the shell used by Emacs on 
your platform when it runs find-dired.  The above command that invokes 
`find' assumes a Unixy shell, and uses \ to quote special characters.  If 
Emacs invokes the Windows shell (such as cmd.exe), those backslashes are 
left alone and wind up confusing `find' which doesn't expect them.

Try forcing Emacs to invoke the Cygwin port of Bash as the shell, and the 
problems might go away.

      reply	other threads:[~2002-12-12  6:24 UTC|newest]

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

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=Pine.SUN.3.91.1021212082130.15584J-100000@is \
    --to=eliz@is.elta.co.il \
    /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.