Well my problem is this and maybe I should have posted this under programming but neways.
I need to write a shell (bourne) script that adds a group of users and their respective data to a system from an input (text) file.
The data in the file named userlist, for example, will have records stored like this:
username : password : groupname : fullname
with fullname of course being allowed to have blank space for neatness.
I also have to show basic help commands / prompts if a user doesn't put in the right parameters or whatever, and I want to add -h so that when a user runs this program with this flag / switch it will output detailed information about the program & userlistfile structure.
Can anyone help me with this? Pretty Please!?!
It would be muchly appreciated