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 Mike Lewis 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. Natalie30

    I need some help with a script that

    &quot;Feb 11 12:25:47 5of4 sendmail[39182]: h1BIPkS39158: to=<Daniel32hkys@cs.com>, dela y=00:00:01, xdelay=00:00:00, mailer=relay, pri=34463, relay=smtp.advertisnet.com. [216.176.166.217], dsn=2.0.0, stat=Sent (h1BIPlo27854 Message accepted for deliver y)&quot;,&quot;Feb 11 12:25:47 5of4...
  2. Natalie30

    I need some help with a script that

    I need some help with a script that reads a mail log file in , and outputs it to a file, which has the same info. in other words every field in the mail log line will be seperated by spaces, and these fields should be output should be surrounded by quotes,seperated by commas. any help would be...
  3. Natalie30

    mail log input and output ?

    Here ya go Kudithipudi-Hi! Feb 11 12:25:47 5of4 sendmail[39182]: h1BIPkS39158: to=<Daniel32hkys@cs.com>, dela y=00:00:01, xdelay=00:00:00, mailer=relay, pri=34463, relay=smtp.advertisnet.com. [216.176.166.217], dsn=2.0.0, stat=Sent (h1BIPlo27854 Message accepted for deliver y) Feb 11 12:25:47...
  4. Natalie30

    mail log input and output ?

    I need some help with a script that reads a mail log file in , and outputs it to a file, which has the same info. in other words every field in the mail log line will be seperated by spaces, and these fields should be output should be surrounded by quotes,seperated by commas. any help would be...
  5. Natalie30

    getting the difference in the number lines

    I need help seeing the difference in the number lines, in this script i writing back the previous number of lines. I need a subtraction statement. thanks, N $data_file = &quot;/root/bin/load.data2&quot;; open(FILE,&quot;<$data_file&quot;) or die &quot;Cant open $data_file2: $!\n&quot;; @log =...
  6. Natalie30

    new added value

    your awesome, thanks. natalie
  7. Natalie30

    new added value

    yes, its part of the data from a file, that for some reason is not showing up, thanks.
  8. Natalie30

    new added value

    yes it is, Mike, Hi-nice to meet you, have any suggestions.
  9. Natalie30

    new added value

    well this code works, but the output is taking the current value and putting it in the front of the output, dont know whats going on. , &quot;76749&quot; 7 13:40:00 2003&quot;,&quot;1.50&quot;,&quot;75&quot;,&quot;1103&quot;,&quot;78417&quot; , &quot;78417&quot; 7 13:41:00...
  10. Natalie30

    perl loop to add element from last line to new line.

    my $data_file = &quot;/root/bin/load.data2&quot;; open(FILE,&quot;<$data_file&quot;) or die &quot;Cant open $data_file2: $!\n&quot;; my @log = <FILE>; close(FILE); my $last_element='&quot;0&quot;'; while (<>){ chomp; @log = split ','; print &quot;$_, $last_element\n&quot;; $last_element =...
  11. Natalie30

    need to figure out way to take the

    Heres what my file looks like when i pull it up. &quot;Wed Feb 5 23:50:00 2003&quot;,&quot;1.24&quot;,&quot;68&quot;,&quot;111&quot;,&quot;41576&quot; what i need to do is take that last value &quot;41576&quot; and add it to the end of the next line that prints out in the log file. like this...
  12. Natalie30

    need to figure out way to take the

    need to figure out way to take the end of a log file value and take that value and add it to the end of the next line. So it would look something like this. &quot;x&quot;,&quot;x&quot;,&quot;x&quot;,&quot;100&quot; &quot;x&quot;,&quot;x&quot;,&quot;x&quot;,&quot;200&quot...

Part and Inventory Search

Back
Top