Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: logic2fun
  • Content: Threads
  • Order by date
  1. logic2fun

    AND / OR usage in a script

    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...
  2. logic2fun

    TAR & ZIP in C

    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 ...
  3. logic2fun

    Reading Files

    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...
  4. logic2fun

    Alter file without chaging the timestap

    How can i change or copy a file without changing its permissions and timestamp of creation of the file. i tried cp -p but doesnt seem to be working
  5. logic2fun

    Accumulate To Array

    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 ---------------...

Part and Inventory Search

Back
Top