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 Chriss Miller 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: subok
  • Content: Threads
  • Order by date
  1. subok

    Help with Java (data listing)

    Hi Need some help with my java program. I'm trying to write a java code related to bank transactions (e.g. payment) . My problem is that when a new transaction is entered the account is not updated after making for example payment. It seems problem with indexing (cannot be located or ..). Any...
  2. subok

    manipulate column string in a csv file

    Hi, I've been struggling to write a simple script to manipulate a column in a large csv file but i can't get any further. Any help is greatly appreciated! csv file 2013-12-6T02:05:08+01:00,0,0,0,0,0,258,0,0,0,0,0,258,0,0,0,0,0,258,0,0,0,0,0,258,false...
  3. subok

    first time with Python

    [tt]Hi, I trying to write a script in python to parse an xml file. The xml file contains, measurements taken every 5 minutes. I need a script to parse the xml file and convert it to a csv formatted text. Any help would highly appreciated : example input file, i need to parse and take the...
  4. subok

    python ssh and sudo remote commands

    Hi, I was wondering if somebody can help. I'm writing a python script to make a remote command but requires a sudo password. I got the following script but the password is not sendout it seems thanks in advance for any assistance import paramiko import SocketServer import socket import...
  5. subok

    Need some help, no idea where to start

    I need to parse a 2 csv files copied to a directory every X minutes. Then calculate the ratio of the column "numOctetsReceived" and "numOctetsSent" Depending on the result ratio, i have to execute a ms-dos batch file (e.g. low.bat or high.bat) HEADER;UtilizationData;10;V16SG; ;0;SCANNER...
  6. subok

    finding the latest file in several sub-directory

    Hi, Any help to a newbie will greatly appreciated. I'm trying to write a script to check the 4 latest file in a directoty containing several subdirectories. d:\subok \10 \20 \30 \40 \50 New can come and stored in any of the sub-dir (10,20,...). Goal is to copy the 4 newest file to a new...
  7. subok

    Copy the latest file in multiple directory

    Hi, Any help to a newbie will greatly appreciated. I'm trying to write MS DOS batch file to check the 4 latest file in a directoty containing several subdirectories. d:\subok \10 \20 \30 \40 \50 New can come and stored in any of the sub-dir (10,20,...). Goal is to copy...
  8. subok

    need some help on perl

    Hi, I need small help on perl scripting I have files that is copied on a regular basis and i need to check the contents to calculate the ratio. depending on the result. ( e.g. .50) it will call another script low.pl ( e.g. .99) it will call another script high.pl The file is a csv file...
  9. subok

    CSV file compare

    Hi, I was wondering if somebody can assist creating a script. I have 2 files /*file1 Jagelka;12345 Vladimir;12645 Kosman;12945; Djokivic;12347 /*file2 12345 12645 12945 Would like to have a resulting file as follow when compared /*Result1 Jagelka;12345 Vladimir;12645 Kosman;12945
  10. subok

    Join CSV file

    Hi, I'm struggling for merge 2 large CSV file, the 2 file have a column with same information and will use this a key : file1*** star,moon, car, house file2, cat,dog,horse,star target result file: star,moon,car,house,cat,dog,horse would appreciate any help for this. I'm running Perl using...
  11. subok

    File access notification

    Hi, I was wondering if its possible to setup a file access monitoring in W2000 server. I have a logfile and in case there is a failed write access a notification is sent (e.g. email) or to a remote computer. thanks.
  12. subok

    logfile monitor

    Hi, I wonder if somebody can assist me. i'm looking for a script or batch file that i can run every hour or more. comparing the file timestamp from the previous check. if it's the same then a notification (e.g. email) is sent. Thanks. subok
  13. subok

    regular expression problem

    Hi, I may sound very newbie, any help is much appreciated. using regular expression (regex), the goal is to manipulate any line with : <sel:479140109;phone-context=+11477>,<sip:479140109@sip-gam.com;user=phone> to become : <sip:479140109@sip-gam.com;user=phone> Thanks subok
  14. subok

    replace a byte in a binary file using perl

    I've been trying but no success. I want to replace byte in a binary file and save a backup file : Where a byte sequence in the file is : EE 09 12 C3 will be replaced by : EE D9 12 C3 (09--> D9) Is it possible? Thanks for your help.
  15. subok

    CGI error (The specified CGI application misbehaved by not returning a

    Hi, I'm a new in Perl scripting and would like to ask some help regaring the following error when I move my wwwroot file to a new server. I thought I was only simple copy and past but when I tried to access my web page using the new server i get the following error when browser execute my perl...
  16. subok

    reformat file

    Hi, I have the following output : MSIN: 7100000000 NETWORK ACCESS: GSM NUMTYP: SINGLE MSCAT: ORDINSUB SUBRES: ONAOFPLM BAOC: OCROUT BAIC: ICROUT BAROAM: NONE BAGPRS: NONE BAPRC: NONE BASSM: NONE BASPH: NONE NDC...
  17. subok

    joining lines

    Hi, I'm having trouble joining several lines into one record. When MSIN is found then join the second field of the first 3 lines and first field of the succeeding lines until MSIN found. Having the following input file format : MSIN: 7100000000 NDC: 721 TELEPHON 247307...

Part and Inventory Search

Back
Top