That's true. I usually do, too. 

But what problem do you really want an answer to? If you want to know
that you will create a new file (if possible) by writing the file
name, this seems to be the normal behaviour.

Compare to how test -e work in a shell:

| % ln -s thefile thelink 
| % ls -l thelink
| lrwxrwxrwx 1 mirar mirar 7 Feb  1 21:07 thelink -> thefile

| % if test -e thelink; then echo yes; else echo no; fi
| no

| % touch thelink                                      

| % ls -l thelink thefile
| -rw-r--r-- 1 mirar mirar 0 Feb  1 21:07 thefile
| lrwxrwxrwx 1 mirar mirar 7 Feb  1 21:07 thelink -> thefile

| % if test -e thelink; then echo yes; else echo no; fi
| yes
              • ... Mirar @ Pike developers forum
              • ... Martin Stjernholm, Roxen IS @ Pike developers forum
              • ... Mirar @ Pike developers forum
          • ... Henrik Grubbstr�m (Lysator) @ Pike (-) developers forum
        • ... Henrik Grubbstr�m (Lysator) @ Pike (-) developers forum
  • Re:... Martin Bähr
  • Re:... Mirar @ Pike developers forum
    • ... Martin Stjernholm, Roxen IS @ Pike developers forum
      • ... Mirar @ Pike developers forum
        • ... Martin Stjernholm, Roxen IS @ Pike developers forum
          • ... Mirar @ Pike developers forum
            • ... Martin Stjernholm, Roxen IS @ Pike developers forum
              • ... Peter Bortas @ Pike developers forum
              • ... Mirar @ Pike developers forum
              • ... Stephen R. van den Berg
              • ... Marc Dirix
              • ... Martin Bähr
              • ... Marcus Comstedt (ACROSS) (Hail Ilpalazzo!) @ Pike (-) developers forum
              • ... Marc Dirix

Reply via email to