Posted on 2007-10-05
I have a question which i require assistance with
i have run the environment settings a number of times and assigned it to a file called 'xx', i did this by
typing ''env >> xx". nowi want to create a script named 'username' holds 1 argument being a file called 'xx'. I have read the input and saw occurence of my usename a few time. What i want to achiveve is to extract the lines of occurence and place it to a new file, display a line number and a bracket against the saved line.
I have already identified the environment,
but i need help with the script called 'usename'. can u help me?!