David Kastrup <dak@xxxxxxx> writes: > Not sure whether this is the problem: either cd does not understasnd > the double slashes, or your shell used for scripts has modified cd to > output some stuff when it is working (people sometimes imprudently > make shell functions or aliases for this). > > Try writing something like > > type cd > > in a script file and see what output you get. A one-word guess: CDPATH. Bill, setting CDPATH in your interactive shell as a shell variable is Ok, but exporting it as an environment does not make much sense. Really. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html