Greetings,

(dirname "/a/b/c") should return "/a/b/" on both win and unix
>
You can use fs/*separator for that:
     user=> (binding [fs/*separator* ":"] (fs/join "a" "b" "c"))
     "a:b:c"

However users expect the path to be right depending on the OS, meaning \ on 
windows and / on *nix.

HTH,
--
Miki

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to