I have many files (called listxxx)with user name and passwd.Some are in this form:

qw001234   kjfgkdf      po001234   kjhdsfi      zx001234   kdssdgjh

some other in this:

qw003214

and the last:

qw003214        po003214   sdkggdjk     zx003214   kbasmkll
(no passwd for qw.It's in a different file) 

I need to make just one file with every username and the passwd after one space.I 
don't want all the user name but the ones that match with a file in my home that 
contains just username.
I'm a pattern matching beginner so I hope someone can help me.Thanks a lot




Reply via email to