how to make a script for this case?

D99 hhhnnn_hk99 at yahoo.com.hk
Thu Aug 15 13:12:46 EDT 2002


hi

i have a question 
I am using linux platform and have a file which contain the 
following data 

#####################################################
a:admin99
b:admin at company.com
password:123321
e:456789

b:peter at company.com
e:1234155
password:44587
a:peter123


b:tom at company.com
a:tom22
password:4sfsfsf7
e:1sfsfs4155


#####################################################
and i want to run a shell script to search and sort to as
below file

account    password       alais        
######################################################
admin99     123321       admin
peter123    44587        peter
tom22       4sfsfsf7     tom

########################################################

would anyone can help me ? thanks a lot



More information about the Python-list mailing list