Quantcast
Channel: Calculate variable, and output it to another variable - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 5

Answer by wolf for Calculate variable, and output it to another variable

$
0
0

Absolutely right and complete the suggested solutions, just to mention the way it has to be done in former times when only the Bourne-Shell was available, that's the way it likes it:

rownum=`expr $nextnum + 1` 

Viewing all articles
Browse latest Browse all 5

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>