[comp.unix.ultrix] Ultrix 4.1 /bin/sh and /bin/sh5 $PATH trailing colon bug

D. Allen [CGL]" <idallen@watcgl.waterloo.edu> (04/09/91)

#!/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@watcgl.waterloo.edu

cd /tmp
touch testxxx
chmod +x testxxx

PATH=/bin:
export PATH

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