RosettaCodeData/Task/Increment-a-numerical-string/UNIX-Shell/increment-a-numerical-string-3.sh

3 lines
115 B
Bash
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
integer num=5 # Declare an integer...
num=$num+1 # ...then increment without the let keyword.