Skip to main content
6 events
when toggle format what by license comment
Nov 15, 2019 at 20:44 comment added Soerendip Thanks for the comment!
Nov 15, 2019 at 20:42 history edited Soerendip CC BY-SA 4.0
added 47 characters in body
Nov 14, 2019 at 13:27 comment added terdon @Angel note that there is no reason to use bc even if you do choose to do it this way. ((k++)) or k=$((k+1)) or let k++ all work to increment the value of a shell variable: k=0; while [[ $k -lt 10 ]]; do echo $k; ((k++)); done. Alternatively: for((k=0; k<=10;k++)); do echo $k; done.
Nov 12, 2019 at 10:32 comment added Zizogolu Sorry I tried your code and I got error mentioned in the main post
Nov 10, 2019 at 3:41 history edited Soerendip CC BY-SA 4.0
added 2 characters in body
Nov 9, 2019 at 22:27 history answered Soerendip CC BY-SA 4.0