Timeline for bash adding values and iterating an array
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 22, 2024 at 22:27 | comment | added | Ed Morton | It's also time to start checking your code with shellcheck.net - that would have solved your original problem and will tell you about problems in your new script that you may not be aware of yet. | |
Dec 21, 2024 at 22:18 | comment | added | Barmar |
It's time to stop using the archaic backtick syntax for command substitution, and use $(...) .
|
|
Dec 21, 2024 at 11:03 | comment | added | Renaud Pacalet |
Note: you can avoid using a temporary file with ... done < <(ls -1 | head -2) .
|
|
Dec 21, 2024 at 11:01 | history | answered | madmatrix | CC BY-SA 4.0 |