bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Return from function depending on number of parameters


From: pepa65
Subject: Re: Return from function depending on number of parameters
Date: Sat, 4 Jul 2020 19:12:10 +0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]