Search Results

Search: Posts Made By: ni_hao
13,270
Posted By ni_hao
Wow, thanks a lot it works. I just have changed ...
Wow, thanks a lot it works. I just have changed

else
day_temp=${day[$i]}
fiinto else
day_temp=${day[$i]: -2} # day_temp is filled with the last 2 characters of ${day[$i]}
...
13,270
Posted By ni_hao
Thanks again but same error happens now with the...
Thanks again but same error happens now with the FILE$i variable.

This FILE1=$year$month$day$i"_US.gif" give as result:
201003201002261_US.gif and should be 20100227_US.gif

So again, the...
13,270
Posted By ni_hao
Thanks, looks much much better. However, some...
Thanks, looks much much better. However, some commands are not recognized at the busybox I use. I tried your source code and it gave errors:

This is not recognized:

day$j=$[$day$i+1] ...
13,270
Posted By ni_hao
Howto shorten script in a busybox environment by using for loops?
My satellite receiver is equipped with busybox, so a small linux version.
That is why I can not use certain commands like #tomorrow in date commands or #date -d "+1 day"
and thus I have to use:...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 07:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy