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

3 lines
115 B
Bash
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
integer num=5 # Declare an integer...
num=$num+1 # ...then increment without the let keyword.