|
|
1.1 ! root 1: .\" Copyright (c) 1980 Regents of the University of California. ! 2: .\" All rights reserved. The Berkeley software License Agreement ! 3: .\" specifies the terms and conditions for redistribution. ! 4: .\" ! 5: .\" @(#)which.1 6.1 (Berkeley) 4/29/85 ! 6: .\" ! 7: .TH WHICH 1 "April 29, 1985" ! 8: .UC ! 9: .SH NAME ! 10: which \- locate a program file including aliases and paths (\fIcsh\fR only) ! 11: .SH SYNOPSIS ! 12: .B which ! 13: [ name ] ... ! 14: .SH DESCRIPTION ! 15: .I Which ! 16: takes a list of names and looks for the files which would be ! 17: executed had these names been given as commands. ! 18: Each argument is expanded if it is aliased, ! 19: and searched for along the user's path. ! 20: Both aliases and path are taken from the user's \&.cshrc file. ! 21: .SH FILES ! 22: .ta 1i ! 23: ~/\&.cshrc source of aliases and path values ! 24: .SH DIAGNOSTICS ! 25: A diagnostic is given for names which are aliased to more than a single ! 26: word, ! 27: or if an executable file with the argument name was not found in the path. ! 28: .SH BUGS ! 29: Must be executed by a csh, since only csh's know about aliases.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.