Hi Experts,
I have a code like this.
=====
#include....
int main()
{
int count = 0;
while(1){
printf("\n Interation number is: %d \n ",count);
rv = system(" test.sh > log.txt " );
if (-1 == rv)
{
printf("Could not generate static log: error... (12 Replies)
Hi Gurus,
Please help in this shell script.
x=000
y=`expr $x + 1`
echo $y
which gives me the value as 1
How can i get the value as 001 in this shell script. As i am new to scripting stuck up here.
Requesting here help here (2 Replies)