From: Paul Stodghill <stodghil@cs.cornell.edu>
To: 'Earnie Boyd' <earnie_boyd@yahoo.com>,
"Cygwin Mailing List (E-mail)" <cygwin@sources.redhat.com>
Subject: RE: Symlink'ed current directory and FIND
Date: Wed, 15 Nov 2000 06:51:00 -0000 [thread overview]
Message-ID: <706871B20764CD449DB0E8E3D81C4D43CE8D18@opus.cs.cornell.edu> (raw)
> Find doesn't dereference symbolic links unless you tell it
> to. The command
> find -follow -type f
> would display the files you want displayed.
The way that Cygwin handles CWD=='.' when '.' is a symlink seems to be
different from Solaris, Linux and IRIS. I tried both NFS and local
disks.
ringding% uname -a
SunOS ringding 5.6 Generic_105181-16 sun4u sparc SUNW,Ultra-4
ringding% find --version
GNU find version 4.1
ringding% ls -ld a b
drwxr-sr-x 2 stodghil stodghil 512 Nov 15 09:19 a
lrwxrwxrwx 1 stodghil stodghil 1 Nov 15 09:19 b -> a
ringding% cd a
ringding% find -type f
./f1
./f2
./f3
ringding% cd ../b
ringding% find -type f
./f1
./f2
./f3
ringding%
itchy% uname -a
Linux itchy.cs.cornell.edu 2.2.12-20smp #1 SMP Mon Sep 27 10:34:45 EDT
1999 i686 unknown
itchy% find --version
GNU find version 4.1
itchy% ls -ld a b
drwxr-sr-x 2 stodghil stodghil 512 Nov 15 09:19 a
lrwxrwxrwx 1 stodghil stodghil 1 Nov 15 09:19 b -> a
itchy% cd a
itchy% find -type f
./f1
./f2
./f3
itchy% cd ../b
itchy% find -type f
./f1
./f2
./f3
itchy%
unfolding% uname -a
IRIX64 unfolding 6.5 04151556 IP30
unfolding% find --version
GNU find version 4.1
unfolding% ls -ld a b
drwxr-xr-x 2 stodghil 8274 2048 Nov 15 09:39 a
lrwxr-xr-x 1 stodghil 6007 1 Nov 15 09:39 b -> a
unfolding% cd a
unfolding% find -type f
./f1
./f2
./f3
unfolding% cd ../b
unfolding% find -type f
./f1
./f2
./f3
unfolding%
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
next reply other threads:[~2000-11-15 6:51 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-15 6:51 Paul Stodghill [this message]
-- strict thread matches above, loose matches on Subject: below --
2000-12-21 22:41 Philip Sainty
2000-12-22 1:06 ` Corinna Vinschen
2000-11-15 7:28 Earnie Boyd
2000-11-15 8:11 ` Christopher Faylor
2000-11-17 5:55 ` David Starks-Browning
2000-11-15 6:59 Earnie Boyd
2000-11-15 6:35 Earnie Boyd
2000-11-15 7:14 ` Lassi A. Tuura
2000-11-15 6:19 Paul Stodghill
2000-11-15 7:20 ` Egor Duda
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=706871B20764CD449DB0E8E3D81C4D43CE8D18@opus.cs.cornell.edu \
--to=stodghil@cs.cornell.edu \
--cc=cygwin@sources.redhat.com \
--cc=earnie_boyd@yahoo.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.
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).