[Swift-devel] which foo

Ben Clifford benc at hawaga.org.uk
Mon Feb 9 10:06:01 CST 2009


Here's a particularly annoyingly behaved 'which', on my os x 10.4 box:

$ which foo 2>/dev/null ; echo $?
no foo in /Users/benc/work/cog/modules/swift/dist/swift-svn/bin 
/Users/benc/bin /opt/local/bin /usr/X11R6/bin 
/Users/benc/work/globus/4.2.0-rc1/bin 
/Users/benc/work/globus/4.2.0-rc1/sbin /bin /sbin /usr/bin /usr/sbin
0

I came across this when trying to find out why bootstrap wasn't switching 
over to using curl when it can't find wget, testing coasters locally.

-- 




More information about the Swift-devel mailing list