Hi,

I'm missing something very fundamental about symlinks.  Say I want to
test some trivial little program I've written, but want to make it easy
to switch between revisions.  I thought the following should work:

lrwxrwxrwx  1 mdavids mdavids   12 2004-09-13 15:52 application ->
version/0.3/
-rw-r--r--  1 mdavids mdavids    0 2004-09-13 15:43 file
drwxr-sr-x  5 mdavids mdavids 4096 2004-09-13 15:51 version

"file" is some data I want to work on.

[EMAIL PROTECTED]:~/test$ cd application
[EMAIL PROTECTED]:~/test/application$ ls -l ../file 
ls: ../file: No such file or directory

But bash even autocompletes the name "file" for me!

[EMAIL PROTECTED]:~/test/application$ ls -l ../
total 12
drwxr-sr-x  2 mdavids mdavids 4096 2004-09-13 15:51 0.1
drwxr-sr-x  2 mdavids mdavids 4096 2004-09-13 15:51 0.2
drwxr-sr-x  2 mdavids mdavids 4096 2004-09-13 15:51 0.3

It's embarrasing for someone as terribly, terribly old as me to make
such an admission of ignorance, but this is not the behaviour I would
expect from symlinks.  This is what I'd expect from MS shortcuts.

Can somebody explain why this is, and what technique would yield
something like the desired effect?

Matthew

-- 
--
0419 242 316 ... (02) 6658 1607
--
Please avoid sending me Word or PowerPoint attachments.
(Save as HTML or RTF)
See http://www.fsf.org/philosophy/no-word-attachments.html 
--
"Our enemies are innovative and resourceful, and so are we.
They never stop thinking about new ways to harm our people 
and our country, and neither do we."
  -- George W. Bush



-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to