🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #382

Can "type" take "-p" and "-t" flags?

#382
From: Brian Fox
Date: Tue, 25 Jul 1989 15:40
23 lines
1334 bytes
   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
Technical Details
Message-ID: <8907251540.AA24308@aurel.caltech.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!AUREL.CALTECH.EDU!bfox
References: <1909@prune.bbn.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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