LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-28-2005, 04:06 AM   #1
anupamsr
Member
 
Registered: Sep 2004
Location: India
Distribution: Kubuntu, Archlinux, Suse, Gentoo, Mandrake
Posts: 370

Rep: Reputation: 30
Fortune Mod - Homer Quotes


Hi.

I have installed Fortune. I have also installed the fortune-mod-homer (www.cs.indiana.edu/~crcarter/homer/homer.html.

I want to see only these quotes and not other quotes installed by fortune by default. Is there a command to show only qoutes from homer.dat that I have installed? Or I will have to remove all other .dat file so that fortune is forced to only this file.
 
Old 10-28-2005, 05:08 AM   #2
sojason
LQ Newbie
 
Registered: Sep 2005
Location: Göteborg, Sweden
Distribution: Debian - Sarge
Posts: 3

Rep: Reputation: 0
To only get fortunes from homer.dat you simply call fortune as such:

fortune homer

Or, you could delete the .dat files associated with the default fortune files.

From man fortune,

"If a particular set of fortunes is particularly unwanted, there is an
easy solution: delete the associated .dat file. This leaves the data
intact, should the file later be wanted, but since fortune no longer
finds the pointers file, it ignores the text file."
 
Old 10-28-2005, 05:39 AM   #3
anupamsr
Member
 
Registered: Sep 2004
Location: India
Distribution: Kubuntu, Archlinux, Suse, Gentoo, Mandrake
Posts: 370

Original Poster
Rep: Reputation: 30
Thanks. It worked.
 
  


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
Missing C header for Fortune-Mod goofyheadedpunk Slackware 5 03-06-2005 06:33 PM
screensaver for x using fortune-mod? dtheorem Linux - Software 1 08-25-2004 01:41 AM
how to add some quotes to fortune? Vincent Slackware 2 02-25-2004 09:13 AM
fortune database of quotes?(and a question for the moderators too) rmanocha Linux - Software 1 01-24-2004 06:16 PM
Setting up Fortune-mod jester_69 Linux - General 2 07-01-2002 02:11 AM


All times are GMT -5. The time now is 02:38 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration