Newsgroups: comp.unix.ultrix
Path: utzoo!utgpu!watserv1!watcgl!idallen
From: "Ian! D. Allen [CGL]" <idallen@watcgl.waterloo.edu>
Subject: Ultrix 4.1 /bin/sh and /bin/sh5 $PATH trailing colon bug
Message-ID: <1991Apr9.130453.28033@watcgl.waterloo.edu>
Sender: idallen@watcgl.waterloo.edu (Ian! D. Allen [CGL])
Organization: Computer Graphics Laboratory, University of Waterloo, Ontario, Canada
Date: Tue, 9 Apr 1991 13:04:53 GMT
Lines: 17

#!/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
