Results 1 to 3 of 3
Thread: Help with a mini script, please
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Jan 2014
Help with a mini script, please
Would someone please help me with the following
1) how can i count an article written by one author.
Now if the article has more then one author ,like author names are seperated by commas it should not count it.
2)finally a command that output the single authors name,to a file, and they should be sorted alaphabatically
Your help would be greatly appreciated.
This looks like a homework question to me. We can't just give you an answer, but if you work out one for yourself and have a problem making it work, you can come back for a little guidance."I'm just a little old lady; don't try to dazzle me with jargon!"
What I recommend is for working out scripts is to workout each command or combination from the command line. That helps you focus on the comands to use and their options, and the pipes and redirections. This way you know you have working commands, then put them into a script, now if you have issues you know it's not the commands, but something to do with scripting and it environment. Break things down to pieces then assemble the pieces.