From 4a18fa68b01bf8121a8660d3f5214e5927763251 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Teichgr=C3=A4ber?= Date: Wed, 8 Jul 2009 09:18:42 -0700 Subject: src: use whatis instead of which --- bin/src | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/src') diff --git a/bin/src b/bin/src index 03987627..bedb9f9a 100755 --- a/bin/src +++ b/bin/src @@ -49,7 +49,7 @@ if(~ $#* 0) usage ifs=' ' for(i){ - wi=`{which $i >[2]/dev/null} + wi=`{whatis $i >[2]/dev/null} if(test -f $i) go $i if not if(~ $#wi 1 && test -f $wi) go $wi if not echo 'src: can''t find '$i -- cgit v1.2.3