Re: Variables declared in arithmetic expressions have no i flag
On 11/24/20 8:30 AM, Léa Gris wrote: > Should variables automatically created within arithmetic constructs have > the integer flag implied? No. There's no reason to do this. If you want an integer variable, declare it as such beforehand. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRUc...@case.eduhttp://tiswww.cwru.edu/~chet/
Feature request
How good it's if we can have Bash internal variable as default for loop counter, f(){ unset i for a;{ let ++i # ... } #... } so have that instead of $i for sake of efficieny or optimization, could be named any, $/, $! etc