Hi all,

I've added a function (A make function) named contract-path to the 3.80 sources.
It takes a path with garbage like 'dir/..' or 'dir1//2/' or 'dir/./dir2' and
contracts it as much as possible, e.g.:

a/b/..    ==> a
a/./.     ==> a
a\b\\c/d  ==> a/b/c/d

I found it very useful when I see up-and-down paths used in my makefiles.
Please let me know if anybody else is interested in it, and if desired I'll
commit it to the repository.

Bye,
- Aviad Lahav




----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to