Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15698

Re: man bash does not list 'in' as a builtin command

From Peter Benjamin <pete@peterbenjamin.com>
Newsgroups gnu.bash.bug
Subject Re: man bash does not list 'in' as a builtin command
Date 2019-12-05 23:51 -0800
Message-ID <mailman.390.1575644273.1979.bug-bash@gnu.org> (permalink)
References <14db6b9f69f249db60a0f92df80339d88efba152.camel@peterbenjamin.com> <4dc457e0135603025cd500acdc95db53f9d30482.camel@peterbenjamin.com> <6F7CBE03-C2F4-45CC-91D6-8A72A0C7B3B6@gmail.com> <2919.1574767603@jinx.noi.kre.to> <febce9953533d8449c409a266b81091957f1cdee.camel@peterbenjamin.com>

Show all headers | View raw


On Tue, 2019-11-26 at 18:26 +0700, Robert Elz wrote:
> With that in mind the message in question isn't really confusing at all.

I agree.  With one little exception.

Bash has two levels of error checking, that can generate the message.

1) Command line parsing and interpreting.

2) Bash script parsing and interpreting.

I looked first into the latter, my new code is always thought to have the error, before I suspect open
source software quality.  Then, I started suspecting the former, the CLI, then confirmed it.

And it could only happen for the one word, 'in', and no other.  A very special case indeed.  No worthy
of time to edit and debug and QA software.

@Robert: Down Under is a very fine place to live, indeed.

@Chris: I like the 'type' command.  Thanks.

BTW, I have named thousands of custom scripts, one letter, 2, 3, or 2 to 8 words, etc.  Never had a
problem with figuring out an error message, until this one.

'in' was the initials of the longer two words I wished to name it, but for keystroke counting purposes I
wanted just two letters.  I was going to use the command frequently for some days, 20-50 times a day.  A
testing script.  I settled on 'inn' being next fastest to type.

Peter

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: man bash does not list 'in' as a builtin command Peter Benjamin <pete@peterbenjamin.com> - 2019-12-05 23:51 -0800

csiph-web