filepath
Bryan O'Sullivan
bos at serpentine.com
Sun Dec 9 14:47:43 EST 2007
Claus Reinke wrote:
> ./foo and foo are not interchangeable:
Yes, they are.
What you have described is the behaviour of the Bourne shell when it
parses a line and searches for a command. If it sees a path component
in a command name, it searches from either the filesystem root or the
current directory. Otherwise, it uses $PATH, which does not usually
contain ".", for security reasons.
As you can now imagine, this has no relation to how a Haskell program
should be manipulating paths.
<b
More information about the Libraries
mailing list