LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-31-2014, 04:41 AM   #1
waelkd
LQ Newbie
 
Registered: Oct 2008
Posts: 11

Rep: Reputation: 0
Help with a mini script


Good day

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.

Thanks


Edit: How can we count articles found in a file, now these articles are seperated by ----------.

Thanks again

Last edited by waelkd; 01-31-2014 at 06:27 AM.
 
Old 01-31-2014, 04:49 AM   #2
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,565

Rep: Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901
What have you done to solve this problem?

Are you looking to write a shell script or perhaps perl or some other language?
 
Old 01-31-2014, 05:03 AM   #3
waelkd
LQ Newbie
 
Registered: Oct 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by grail View Post
What have you done to solve this problem?

Are you looking to write a shell script or perhaps perl or some other language?


yes sir , looking to write it a shell script or write it on python
 
Old 01-31-2014, 09:53 AM   #4
grail
LQ Guru
 
Registered: Sep 2009
Location: Perth
Distribution: Manjaro
Posts: 9,565

Rep: Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901Reputation: 2901
You did not answer the first question ... what have you done? We are here to help, not to do the work for you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't install mini pci-e card into desktop PC through a mini pci-e to pci-e 1x card bocaiwen Linux - Hardware 3 05-15-2012 03:29 AM
LXer: Avoiding Linux Installation Problems on the HP Mini 110 and Mini 210 Netbooks LXer Syndicated Linux News 0 06-13-2010 11:10 PM
Ubuntu-Mini-Remix-9.10.iso + e17-svn + Script = E'buntu-9.10 !! linus72 Linux - General 5 12-18-2009 01:18 PM
mini-mini live distro. BaptismOfFire Linux - Distributions 2 04-25-2007 06:51 AM
mini Ipod patch usb (the mini iPOD thread) Phyrexicaid Linux - Hardware 6 03-22-2005 02:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration