Friends i am trying to use both AND and OR in one command and my OR doesnt seem to be working. Am i missing anything here
if [ $srcCnt -ge 5000 ] && [ $ldCnt -le 200 ] || [ $sleepVar > 120 ]
then
Do something
else
SLEEP
fi
It looks like it is not accounting for my OR command. It works fine...
Friends,
I am actually reading a set of files in C program. Once i finish performing some transformations I need to ZIP and Tar these input files. Right now the idea i have is using a SYSTEM command to run the UNIx command.
Do we have any better way of doing this instead of SYSTEM command ...
Hi All,
I have a situation where we are planning to migrate from Stand Alone Applications to Multi threading processing.
Situation is on a daily basis we read approximately a million files that comprise of a billion records. Today there is a stand alone application/applications(they run on...
Freinds,
I am trying read some data and sum it up to an array. For example i have this dataset
ID - Code - Reason - Time of Occurence
---------------------------------
A - 123 - 1 - 10:00
A - 0 - 0 - 10:05
A - 125 - 2 - 10:06
A - 0 - 0 - 10:09
A - 123 - 1 - 10:10
A-0 -0-10:20
---------------...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.