Hi Jorge Am 03.11.2014 um 21:50 schrieb cpu memhd: > Hey Erich, > ... > > Your expandpath seems to do what it's supposed to, but the only exception is > that it doesn't retain the slash when $1 is just a slash: > > `expandpath2 /` = "" > > > Nothing. But you're also saying that my expandpath does that too? I haven't > been able to replicate that. > > Anyhow, if you can keep the slash when just '/' is passed, then that's all > that's needed.
I believe we have to define a test suite for the most common cases. Unfortunately there does not seem to be a formal description of what expandpath is supposed to do. Especially, should it retain a trailing slash or not? cheers Erich
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------------
_______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel