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


Groups > gnu.bash.bug > #16534

Re: Return from function depending on number of parameters

From pepa65 <pepa65@passchier.net>
Newsgroups gnu.bash.bug
Subject Re: Return from function depending on number of parameters
Date 2020-07-04 19:12 +0700
Message-ID <mailman.939.1593868597.2574.bug-bash@gnu.org> (permalink)
References <b1c19d38-64c0-f1ae-d08a-1ada435a0022@gmail.com> <506AA493-0D79-4A9A-A53E-279FDA72CED5@larryv.me> <0b8f32e5-0644-526e-59a4-1bad5a474262@passchier.net>

Show all headers | View raw


On 04/07/2020 04.39, Lawrence Velázquez wrote:
> It might tell you something that $[...] is not even mentioned in
> the man page for bash 3.2.57, which is decidedly not the current
> version.

About that, is it for sure that $[] is going to be obsoleted/removed in
the future? I happened to use it recently, and thought it was more
readable than $(()) and caused less visual clutter. Any reason $(()) was
preferred?

Peter

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


Thread

Re: Return from function depending on number of parameters pepa65 <pepa65@passchier.net> - 2020-07-04 19:12 +0700

csiph-web