Re: reset number after each month
Posted by ErmanArslansOracleBlog on May 22, 2017; 10:32am
URL: http://erman-arslan-s-oracle-forum.124.s1.nabble.com/reset-number-after-each-month-tp2706p2724.html
You will still get error.
Modify your script.
you are putting characters in to d2, but you are trying to use equal or greate in the if statement. This won't happen, because -ge requires 2 numbers.
you will get -> 22.05.2017: integer expression expected
rewrite the script accordingly. Also why you are using greate or equal.. Time goes forward :) a simple string comparison is enough for this.