awk/perl script

pons madunix at gmail.com
Mon Jul 17 10:35:19 UTC 2006


Dear all,
i want to a awk or perl script filter a file contains the following items
"Date","Time","RAS-Client","Record-Type","Full-Name","Auth-Type","User-Name","NAS-IP-Address","NAS-Port",,,,,,,,,,"Login-IP-Host","Login-Service","Login-TCP-Port","Callback-Number","Callback-ID",
"07/17/2006","07:35:43","WAN","Start","Unknown","Unknown","apmc","10.16.0.2
","20000","2","1",,,,,,,,,,,,,,,,,,"9560","53539180",
"07/17/2006","07:35:43","WAN","Start","Unknown","Unknown","aaac","10.16.0.2
","20000","2","1",,,,,,,,,,,,,,,,,,"9560","57532280",..............
..................

I want to have the layput as follow
Date  Time  Username  Phone_No.  IP_address

madunix
-- 
Communications/Network and Systems Engineer



More information about the redhat-list mailing list