Ultrix 4.1 /bin/sh and /bin/sh5 $PATH trailing colon bug

Ian! D. Allen [CGL] idallen at watcgl.waterloo.edu
Tue Apr 9 23:04:53 AEST 1991


#!/bin/sh
# This fails for /bin/sh and /bin/sh5 on Ultrix 4.1 and Ultrix 3.1.
# A leading or trailing ":" in $PATH is supposed to mean the current
# directory.  The leading ":" works; the trailing ":" does not.
# A trailing double-colon works.    idallen at watcgl.waterloo.edu

cd /tmp
touch testxxx
chmod +x testxxx

PATH=/bin:
export PATH

testxxx
-- 
-IAN! (Ian! D. Allen) idallen at watcgl.uwaterloo.ca idallen at watcgl.waterloo.edu
 [129.97.128.64]  Computer Graphics Lab/University of Waterloo/Ontario/Canada



More information about the Comp.unix.ultrix mailing list