Mail Archives: djgpp/1998/08/03/16:46:35
From: | Davin Max Pearson <d DOT pearson AT ext DOT canterbury DOT ac DOT nz>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Problem with find
|
Date: | 04 Aug 1998 08:12:44 +1200
|
Organization: | University of Canterbury
|
Lines: | 41
|
Message-ID: | <wk1zqxbz9f.fsf@wibble.zibble>
|
NNTP-Posting-Host: | exti141.tacacs.canterbury.ac.nz
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
When I "CD" to a directory that does contain "*.cc" files, I then
try the following variations of the find command, with the
following results:
(1) From the DOS prompt:
find . -name "*.cc"
works fine.
(2) From the DOS prompt:
find . -name *.cc
doesn't work. (It says "paths must precede expression")
(3) From BASH:
find . -name *.cc
doesn't work (paths must precede expression)
(4) From BASH:
find . -name "*.cc"
doesn't work (paths must precede expression)
(5) From BASH:
find . -name "\*.cc"
does nothing.
So I was wondering: how do I get the find command to work properly
from the BASH prompt? It seems that I does work from the DOS prompt,
but what extra complication is needed to get it to work from the BASH
prompt?
- Raw text -