Creating a symlink to current directory does not display with ls as expected

Sally, Gene Gene.Sally@timesys.com
Wed Jun 22 00:40:00 GMT 2005


Hi,

I'm not sure if this is the right place for this, but I have a question
about how ls on cygwin displays a symlink pointing to the current
directory. 

When I do the following:

# cd ~
# ln -s here . 
# ls -l here
lrwxrwxrwx  1 gene.sally mkgroup      1 Jun 21 16:51 here ->

I'm expecting the dereference to the symlink to display here -> . as
this is the behavior on Linux.

On cygwin, it appears that the "." does not display in the directory
listing; however, the symlink works as expected, so this appears to me a
cosmetic error.

Is this the expected behavior for ls in cygwin for this type of symlink?

Thanks,
gene

-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 60836 bytes
Desc: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20050622/5b69aa46/attachment.obj>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list