in reply to Extract information from text file
Now that you have a solution, hopefully, it generates interest, and specific questions you can ask here.perl -ane 'm/^total/ ? shift @F:$.==1 or next; print join(",",@F),"\n" +' INPUT-FILE-NAME.TXT
"You're only given one little spark of madness. You mustn't lose it." - Robin Williams
|
|---|