I work for a small ISP and we are using Unix operating system with bash shell. I want to write a shell script to parse the csv file line by line. Then line must be parse again field by field. The sample input file is as follows:
example.com,username,groupname,homedir,md5password,permission,secondarygroup
I need to extract each of these example.com,username,groupname,homedir,md5password,permission,secondarygroup and passed to the different system utilities. How do I write a shell script to automate this task and use the bash shell parse a text file?
{ 3 comments }


