Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!AUREL.CALTECH.EDU!bfox From: bfox@AUREL.CALTECH.EDU (Brian Fox) Newsgroups: gnu.bash.bug Subject: Can "type" take "-p" and "-t" flags? Message-ID: <8907251540.AA24308@aurel.caltech.edu> Date: 25 Jul 89 15:40:26 GMT References: <1909@prune.bbn.com> Sender: daemon@tut.cis.ohio-state.edu Reply-To: bfox@aurel.caltech.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 23 Date: 24 Jul 89 22:05:32 GMT From: rsalz@bbn.com (Rich Salz) Organization: BBN Systems and Technologies Corporation Sender: bug-bash-request@prep.ai.mit.edu The "type" command knows about -type and -path. Apparently -n is a synonym for -path. It would be more Unix'y and consistant with declare if we had -t and -p, respectively. The changes in builtins.c type_builtin() are obvious. /rich $alz -- Please send comp.sources.unix-related mail to rsalz@uunet.uu.net. Use a domain-based address or give alternate paths, or you may lose out. -type and -path are more GNU'y. Isn't that the operating system that this shell is being written for? I wish you people would complain that you can't use completion to type these arguments instead of telling me that the argument names are too descriptive. Brian