%% [EMAIL PROTECTED] writes: l> I've added a function (A make function) named contract-path to the l> 3.80 sources. It takes a path with garbage like 'dir/..' or l> 'dir1//2/' or 'dir/./dir2' and contracts it as much as possible,
There are two functions added to the next version of GNU make, abspath and realpath, which do much of what you appear to want. -- ------------------------------------------------------------------------------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://make.paulandlesley.org "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Bug-make mailing list Bug-make@gnu.org http://lists.gnu.org/mailman/listinfo/bug-make