Login  Register

Re: reset number after each month

Posted by ErmanArslansOracleBlog on May 22, 2017; 10:28am
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/reset-number-after-each-month-tp2706p2723.html

The problematic line is "if [${d} -ge ${d2}] "

put spaces after [ and before ] . Do like the following;

if [ ${d} -ge ${d2} ]