Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 8/24/83; site garfield.UUCP Path: utzoo!utcsrgv!garfield!andrew From: andrew@garfield.UUCP (Andrew Draskoy) Newsgroups: net.bugs.4bsd Subject: bug in which (4.2bsd) Message-ID: <805@garfield.UUCP> Date: Tue, 17-Jan-84 20:26:48 EST Article-I.D.: garfield.805 Posted: Tue Jan 17 20:26:48 1984 Date-Received: Thu, 19-Jan-84 03:53:46 EST Organization: Memorial University, St. John's, NF Lines: 15 Subject: Bug in 4.2bsd which csh script Index: ucb/which.csh 4.2BSD Description: The which csh script won't tell you if a command is an alias, and will not read the path from the .cshrc as documented. This is because it is exec'd with "csh -f", which does not read in the .cshrc file. Repeat-By: Type "which xxx", where xxx is any alias defined in your .cshrc If the bug is present, "which" will not tell you that it is an alias. Fix: Take the "-f" out of the top line of the script.