public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* RE: possible bug with find
@ 2001-01-16 12:24 Heribert Dahms
  2001-01-16 12:51 ` Gerrit Peter Haase
  2001-01-16 12:57 ` possible bug with find Gerrit Peter Haase
  0 siblings, 2 replies; 8+ messages in thread
From: Heribert Dahms @ 2001-01-16 12:24 UTC (permalink / raw)
  To: 'Timothee Besset', cygwin

Hi Timo,

no bug, user error: On every *ix you normally need quotation to prevent the
shell from file globbing (wildcard expansion) before involing programs, like

find GtkRadiant -iname '*.cpp' -print


Bye, Heribert (heribert_dahms@icon-gmbh.de)

> -----Original Message-----
> From:	Timothee Besset [SMTP:timo@qeradiant.com]
> Sent:	Tuesday, January 16, 2001 21:11
> To:	cygwin@cygwin.com
> Subject:	possible bug with find
> 
> ok, maybe I really suck at unix stuff, but I think I have a weird and
> buggy 
> behaviour with find:
> 
> on a linux box (standard and recent slackware installation) I'm using
> find:
> 
> tim@lunatic:/usr/local/root_home/tim$ find --version
> GNU find version 4.1
> 
> find GtkRadiant -iname *.cpp -print
> gets me all the .cpp files in my directories..
> 
> if I type that in cygwin (I upgraded to the latest network install today
> to 
> make sure)
> I get .. only 1 file out of the 104 it should find:
> 
> administrator@DOWTEST-SGL /cygdrive/e/Loki
> $ find GtkRadiant -iname *.cpp -print
> GtkRadiant/radiant/preferences.cpp
> 
> administrator@DOWTEST-SGL /cygdrive/e/Loki
> $ find -version
> GNU find version 4.1
> 
> I don't see anything special about this file compared to all the others ..
> 
> permissions are the same etc.
> 
> unless I really suck that much with shell scripts .. I think this is a bug
> 
> TTimo
> 
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

* Re: possible bug with find
  2001-01-16 12:24 possible bug with find Heribert Dahms
@ 2001-01-16 12:51 ` Gerrit Peter Haase
  2001-01-16 13:10   ` Corinna Vinschen
  2001-01-16 12:57 ` possible bug with find Gerrit Peter Haase
  1 sibling, 1 reply; 8+ messages in thread
From: Gerrit Peter Haase @ 2001-01-16 12:51 UTC (permalink / raw)
  To: Heribert Dahms; +Cc: 'Timothee Besset', cygwin

Heribert Dahms schrieb:
> 
> Hi Timo,
> 
> no bug, user error: On every *ix you normally need quotation to prevent the
> shell from file globbing (wildcard expansion) before involing programs, like
> 
> find GtkRadiant -iname '*.cpp' -print

WHAT???

$ find include -iname *.h -print

include/ansidecl.h
include/bfd.h
include/bfdlink.h
include/bzlib.h
include/crypt.h
include/_ansi.h
include/_syslist.h
include/a.out.h
include/ar.h
include/arpa/ftp.h
include/arpa/inet.h
include/arpa/telnet.h
include/asm/byteorder.h
include/asm/socket.h
include/asm/types.h
include/assert.h
include/ctype.h
include/cygwin/acl.h
include/cygwin/core_dump.h
include/cygwin/cygwin_dll.h
include/cygwin/icmp.h
include/cygwin/if.h
include/cygwin/in.h
include/cygwin/in_systm.h
include/cygwin/ip.h
include/cygwin/mtio.h
include/cygwin/rdevio.h
include/cygwin/socket.h
include/cygwin/sockios.h
include/cygwin/types.h
include/cygwin/uio.h
include/cygwin/version.h
[...]
include/X11/simx.h
include/X11/xpm.h
include/xpm.h
include/zconf.h
include/zlib.h
include/db.h
include/db_185.h
include/db_cxx.h

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

* Re: possible bug with find
  2001-01-16 12:24 possible bug with find Heribert Dahms
  2001-01-16 12:51 ` Gerrit Peter Haase
@ 2001-01-16 12:57 ` Gerrit Peter Haase
  2001-01-16 13:15   ` Andrew Markebo
  1 sibling, 1 reply; 8+ messages in thread
From: Gerrit Peter Haase @ 2001-01-16 12:57 UTC (permalink / raw)
  To: Heribert Dahms; +Cc: 'Timothee Besset', cygwin, Heribert

Heribert Dahms schrieb:
> 
> Hi Timo,
> 
> no bug, user error: On every *ix you normally need quotation to prevent the
> shell from file globbing (wildcard expansion) before involing programs, like
> 
> find GtkRadiant -iname '*.cpp' -print
> 
> Bye, Heribert (heribert_dahms@icon-gmbh.de)

Hi all,

BTW, this is my find, i compiled it, you can find it here:

ftp://ftp.franken.de/pub/win32/develop/gnuwin32/cygwin/porters/Haase_Gerrit/1.1/

$ find include -iname *.h -print

include/ansidecl.h
include/bfd.h
include/bfdlink.h
include/bzlib.h
include/crypt.h
include/_ansi.h
include/_syslist.h
include/a.out.h
include/ar.h
include/arpa/ftp.h
include/arpa/inet.h
include/arpa/telnet.h
include/asm/byteorder.h
include/asm/socket.h
include/asm/types.h
include/assert.h
include/ctype.h
include/cygwin/acl.h
include/cygwin/core_dump.h
include/cygwin/cygwin_dll.h
include/cygwin/icmp.h
include/cygwin/if.h
include/cygwin/in.h
include/cygwin/in_systm.h
include/cygwin/ip.h
include/cygwin/mtio.h
include/cygwin/rdevio.h
include/cygwin/socket.h
include/cygwin/sockios.h
include/cygwin/types.h
include/cygwin/uio.h
include/cygwin/version.h
[...]
include/X11/simx.h
include/X11/xpm.h
include/xpm.h
include/zconf.h
include/zlib.h
include/db.h
include/db_185.h
include/db_cxx.h

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

* Re: possible bug with find
  2001-01-16 12:51 ` Gerrit Peter Haase
@ 2001-01-16 13:10   ` Corinna Vinschen
  2001-01-22  3:08     ` Location of sshd port r.h.
  0 siblings, 1 reply; 8+ messages in thread
From: Corinna Vinschen @ 2001-01-16 13:10 UTC (permalink / raw)
  To: cygwin

On Tue, Jan 16, 2001 at 09:56:10PM +0000, Gerrit Peter Haase wrote:
> Heribert Dahms schrieb:
> > 
> > Hi Timo,
> > 
> > no bug, user error: On every *ix you normally need quotation to prevent the
> > shell from file globbing (wildcard expansion) before involing programs, like
> > 
> > find GtkRadiant -iname '*.cpp' -print
> 
> WHAT???
> 
> $ find include -iname *.h -print
> 
> include/ansidecl.h
> etc.

USER ERROR!!!

This doesn't work in tcsh for example.

If you are using *.h in a directory which itself doesn't contain
a file that matches, sh doesn't expand the wildcard and sends it
unresolved to the application. tcsh doesn't do this, though, but
instead raises an error message:

	find: No match.

Cd into the include directory itself and try it again. You will
be surprised...

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

* Re: possible bug with find
  2001-01-16 12:57 ` possible bug with find Gerrit Peter Haase
@ 2001-01-16 13:15   ` Andrew Markebo
  0 siblings, 0 replies; 8+ messages in thread
From: Andrew Markebo @ 2001-01-16 13:15 UTC (permalink / raw)
  To: gerrit.haase; +Cc: Heribert Dahms, 'Timothee Besset', cygwin

| 
| $ find include -iname *.h -print

(It wasn't the unix-fault, it was a feature of the shell)

Weeh I seem to have noticed something like this before but not
reflected so much over it, bash seems to be able to do a smart
decision if it wants to glob or not.. 

        /Andy

To glob or not to glob
        - The Shell

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

* Location of sshd port
  2001-01-16 13:10   ` Corinna Vinschen
@ 2001-01-22  3:08     ` r.h.
  2001-01-22  5:55       ` Earnie Boyd
  2001-01-22  7:28       ` Christopher Abbey
  0 siblings, 2 replies; 8+ messages in thread
From: r.h. @ 2001-01-22  3:08 UTC (permalink / raw)
  To: Corinna Vinschen

I searched the archives and found your latest sshd port, but when i followed
the ftp link it was dead.

where can i get the latest sshd source from?

thank you,
Rosco Hill


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

* Re: Location of sshd port
  2001-01-22  3:08     ` Location of sshd port r.h.
@ 2001-01-22  5:55       ` Earnie Boyd
  2001-01-22  7:28       ` Christopher Abbey
  1 sibling, 0 replies; 8+ messages in thread
From: Earnie Boyd @ 2001-01-22  5:55 UTC (permalink / raw)
  To: r.h.; +Cc: Corinna Vinschen

"r.h." wrote:
> 
> I searched the archives and found your latest sshd port, but when i followed
> the ftp link it was dead.
> 
> where can i get the latest sshd source from?
> 

Visit http://cygwin.com and click on the "Install Cygwin Now" icon.

Cheers,
Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

* Re: Location of sshd port
  2001-01-22  3:08     ` Location of sshd port r.h.
  2001-01-22  5:55       ` Earnie Boyd
@ 2001-01-22  7:28       ` Christopher Abbey
  1 sibling, 0 replies; 8+ messages in thread
From: Christopher Abbey @ 2001-01-22  7:28 UTC (permalink / raw)
  To: r.h.; +Cc: cygwin

Note that you sent this to a list, not an individual....

Saturday, r.h. wrote:
> I searched the archives and found your latest sshd port, but when i followed
> the ftp link it was dead.
> 
> where can i get the latest sshd source from?

same place as the binary... run setup.exe, click the checkbox under the
"src" column next to the OpenSSH install option. If you've already got the
current version installed you may need to uninstall it then re install.

-- 
now the forces of openness have a powerful and
  unexpected new ally - http://ibm.com/linux



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

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

end of thread, other threads:[~2001-01-22  7:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-16 12:24 possible bug with find Heribert Dahms
2001-01-16 12:51 ` Gerrit Peter Haase
2001-01-16 13:10   ` Corinna Vinschen
2001-01-22  3:08     ` Location of sshd port r.h.
2001-01-22  5:55       ` Earnie Boyd
2001-01-22  7:28       ` Christopher Abbey
2001-01-16 12:57 ` possible bug with find Gerrit Peter Haase
2001-01-16 13:15   ` Andrew Markebo

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).