To keep this simple.
On the text string I would like to:
1. replace all spaces with commas
2. strip all information before the date

=== Text string ====
 172.16.54.132 ssjobhnd Sun Jun 16 10:40:10 2002 SNBJH_3710J Task 1: KB
transferred 8124972.2  Task time 830 s.  Throughput 9789.1 KB/s
=== End Text String ===


=== Begin ===
use strict;
while(<>){
         / ssjobhnd ('$)/g; # Postmatch all after 'ssjobhnd'
         ~ s/ /,/g;   # Convert all spaces to commas
         print;
 }





-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to