Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #16541
| From | Chet Ramey <chet.ramey@case.edu> |
|---|---|
| Newsgroups | gnu.bash.bug |
| Subject | Re: Return from function depending on number of parameters |
| Date | 2020-07-05 13:24 -0400 |
| Organization | ITS, Case Western Reserve University |
| Message-ID | <mailman.1023.1593969892.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> <ACF6AB75-5321-42EC-805E-D84048F539C9@larryv.me> <d4a5db68-0594-e540-c931-593469e73ce2@case.edu> |
On 7/4/20 12:23 PM, Lawrence Velázquez wrote: > Quoting Chet liberally from > https://lists.gnu.org/archive/html/bug-bash/2012-04/msg00034.html: >> >> It dates from Posix circa 1990 (1003.2d9, of which I've lost my paper >> copy). I implemented it after the Berkeley guys, mostly Marc >> Teitelbaum, put it into Posix. It ended up getting dropped in favor >> of the ksh $((...)) expansion, at which point everyone deprecated the >> old $[...]. I removed it from the manual sometime later, but it still >> works as it always has. This all remains true. I probably won't remove it, but nobody should use it in new code. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
Back to gnu.bash.bug | Previous | Next | Find similar
Re: Return from function depending on number of parameters Chet Ramey <chet.ramey@case.edu> - 2020-07-05 13:24 -0400
csiph-web