Looks to me like the first test only tests if $1 is not at the end of $PATHor am I missing something? ----- Original Message -----From: "Jerry Feldman" >;gaf at blu.org