Menu

#92 rox -s should behave the same if there is a trailing slash

Incorrect_behaviour
open
nobody
ROX-Filer (85)
5
2010-02-01
2010-02-01
No

It seems to me that these two commands should behave the same:
rox -s /root/
rox -s /root

They currently don't - am I missing something? I just can't see a logical reason for the current behaviour...

Discussion

  • Stephen Watson

    Stephen Watson - 2010-04-07

    When given the command

    rox /blah/something/

    ROX-Filer can either treat it as

    rox /blah/something

    or as

    rox /blah/something/.

    Currently it chooses to do the latter, I don't see any compelling reason to do one rather than the other.

     
  • Alister Hood

    Alister Hood - 2010-04-08

    Yes, maybe you're right. I guess the current behaviour is more consistent with other *nix programs.

    It just seems to me that if most users run `rox -s /path_to/some_dir` it is much more likely that they actually mean `rox -s /path_to/some_dir` than `rox /path_to/some_dir`. But you're right - the same argument would apply to rox without the -s, and to other programs as well.

     

Log in to post a comment.