Unix shell scripting with counter -
I'm new to Unix shell scripting
I need to write a shell script which is a The variable should increase the value (numeric) and when I run the script the next time the variable should be assumed and it should be incremented. Once it helps, it will be very grateful
thanks < / P>
Try the following code:
vale = 'expr 0000000000 + 1' Ed -s $ 0 & lt; & Lt; EOT1S / .......... / `printf '% 010d' $ vale` / wq EOT $ vale $ vale
Comments
Post a Comment