how to parse a large file for information
Posted on 2009-04-13
I need to get information from a master file that contains user names and machines.
The 4th field contains the usernames and the 9th field contains systems that the user has access to.
My task is to create a list in 2 columns ( user host) that will list a user and every machines he/she has access to. The username will be repeated for each machine in the file.
i am looking for a simple script that can accomplish this.Can any scripting guru please help?
Thanks in advance.