Thread View: gnu.bash.bug
5 messages
5 total messages
Started by Rich Salz
Mon, 24 Jul 1989 22:05
Can "type" take "-p" and "-t" flags?
Author: Rich Salz
Date: Mon, 24 Jul 1989 22:05
Date: Mon, 24 Jul 1989 22:05
8 lines
725 bytes
725 bytes
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.
Can "type" take "-p" and "-t" flags?
Author: Brian Fox
Date: Tue, 25 Jul 1989 15:40
Date: Tue, 25 Jul 1989 15:40
23 lines
1334 bytes
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
Re: Can "type" take "-p" and "-t" flags?
Author: Brian Glendenning
Date: Tue, 25 Jul 1989 23:55
Date: Tue, 25 Jul 1989 23:55
13 lines
1069 bytes
1069 bytes
In article <8907251540.AA24308@aurel.caltech.edu> bfox@AUREL.CALTECH.EDU (Brian Fox) writes: I wish you people would complain that you can't use completion to type [...] Well, since you're soliciting wish lists :-) I wish that bash filename completion would try the elements of CDPATH if it didn't have any luck starting from the current working directory. -- Brian Glendenning - Radio astronomy, University of Toronto brian@radio.astro.utoronto.ca uunet!utai!radio!brian glendenn@utorphys.bitnet
Re: Can "type" take "-p" and "-t" flags?
Author: David MacKenzie
Date: Wed, 26 Jul 1989 16:38
Date: Wed, 26 Jul 1989 16:38
10 lines
962 bytes
962 bytes
In article <8907251540.AA24308@aurel.caltech.edu> bfox@aurel.caltech.edu writes: >-type and -path are more GNU'y. Isn't that the operating system that >this shell is being written for? Judging by the GNU getopt(), '+type' and '+path' are more GNU'y; few GNU programs use multiple-character switch names preceeded by a dash (gcc is one). -- David MacKenzie mackenzi@thor.stolaf.edu or edf@rocky2.rockefeller.edu
Re: Can "type" take "-p" and "-t" flags?
Author: Andrew Thomas
Date: Thu, 27 Jul 1989 14:56
Date: Thu, 27 Jul 1989 14:56
14 lines
1214 bytes
1214 bytes
In article <8907251540.AA24308@aurel.caltech.edu> bfox@aurel.caltech.edu writes: >-type and -path are more GNU'y. Isn't that the operating system that >this shell is being written for? Why shouldn't bash accept both -type and -t? How about having the first character in a multi-character switch act the same as the whole word? This would seem to satisfy everybody. I personally support any addition that reduces the amount of typing I have to do. -- Andrew Thomas andrewt@watsnew.waterloo.edu Systems Design Eng. University of Waterloo "If a million people do a stupid thing, it's still a stupid thing." - Opus
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads