projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added tags/depend labels
[unix-history]
/
usr
/
src
/
old
/
which
/
which.csh
diff --git
a/usr/src/old/which/which.csh
b/usr/src/old/which/which.csh
index
445891a
..
bea7767
100644
(file)
--- a/
usr/src/old/which/which.csh
+++ b/
usr/src/old/which/which.csh
@@
-4,12
+4,14
@@
# All rights reserved. The Berkeley software License Agreement
# specifies the terms and conditions for redistribution.
#
# All rights reserved. The Berkeley software License Agreement
# specifies the terms and conditions for redistribution.
#
-# @(#)which.csh 5.
1
(Berkeley) %G%
+# @(#)which.csh 5.
2
(Berkeley) %G%
#
# which : tells you which program you get
#
set prompt = "% "
#
# which : tells you which program you get
#
set prompt = "% "
-source ~/.cshrc
+if ( -f ~/.cshrc) then
+ source ~/.cshrc
+endif
set noglob
foreach arg ( $argv )
set alius = `alias $arg`
set noglob
foreach arg ( $argv )
set alius = `alias $arg`