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 TouchToneTommy 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: *

  1. moloneySean

    QTP not finding Windows object in repository

    Hi I am constantly getting held up with this problem. I am working on a java rich application and QTP 9.5 has no problems with that part but in my application some of the child windows are microsoft WINDOWS gui's. When this happens i either record or add the objects in to the repository which...
  2. moloneySean

    Search file for integer values.

    Cheers Steve.. I am having a look now...Question: I did a search for C/C++ on tek-tips nothing came back....is there a section?
  3. moloneySean

    Search file for integer values.

    I am testing it now and it is working fine. So thanks again... Another issue (I probably should start a new thread...) Do you know a way I can increment the hour in this system call? -> "09" is the start hour and i want to call system() at 5 mins intervals until 23:59:59...
  4. moloneySean

    Search file for integer values.

    Hey, I tried stevexff suggestion and it worked.Here is my working code. #!/usr/bin/perl use strict; use warnings; open(INFO, "Port25_05_03"); while (<INFO>){ print"$1\n" if (/totalbytes:(\d+\.\d+\w)/); } close(INFO);
  5. moloneySean

    Search file for integer values.

    I have been look at regex today. I can get my head arounf them but I think I am having problems with the blank space after "bytes:__". Here is my code. -------code------------------------------------ #!/usr/bin/perl $X=[0..100]; $Y=[0..100]; $search="total bytes: $X.$Y M,"; open(INFO...
  6. moloneySean

    Search file for integer values.

    Hi I have to search a file for a floating point number. "Summary: total flows: 1027, total bytes: {{9.2}} M, total packets: 18251, avg bps: 259145, avg pps: 60, avg bpp: 531" The number is between the double chain brackets in the above string.The number is not always the same and this string...
  7. moloneySean

    System call with user inputting values?

    That is working way better.... Some more tweaking and il get it. Thanks alot guys...I must say since i have joined this form the quick responses and accuracy of the replays are outstanding!! Thanks again...
  8. moloneySean

    System call with user inputting values?

    foreach $file(@filenames){ my(undef,undef,$ftype) = fileparse($file,qr{\..*}); print "$ftype\n"; #$data = 'nfcapd.200803052325'; @tmp = split(/\./,$ftype); print "$tmp[1]\n"; $var = substr($tmp[1],0,8); $year = substr($tmp[1],0,3); $month = substr($tmp[1],4,5)...
  9. moloneySean

    System call with user inputting values?

    Hi again.. Thanks for the quick replys and they really helped me sort out my problems.. another question...i have a program that can read files and print their extension. I need to extract information from this extension is there a way to do this? Example: nfcapd.200803052325 I need to get...
  10. moloneySean

    System call with user inputting values?

    Hi I want Perl to make a system call to nfdump. nfdump has a specifc command list. Here is an example. nfdump -R /../../ -t YYYY/MM/DD.09:00:00-YYYY/MM/DD.10:00:00 does anyone no how I can use system call to do this? But I also need to keep the Year Month and Day variables changeable. Sorry...

Part and Inventory Search

Back
Top