LinuxQuestions.org
Review your favorite Linux distribution.
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 02-04-2009, 04:53 PM   #1
cdnLilwolf
Member
 
Registered: Jan 2006
Location: Canada
Distribution: Kubuntu 11.10
Posts: 31

Rep: Reputation: 15
fortune file format troubles


I've been using Evolution as my mail client since Kmail does not connect with MSExchange. I've always liked adding taglines and after some research discovered that Fortune seems to be the best tool given that Evolution will only use a script and not a file.

However! I can get it to use it's own data (fortune -s), but I can not get it to use my supplied file ("sig.txt"). I have formated with "%" between paragraphs and made sure I used the Enter key between lines, but I can not get it to use my supplied file.

I've tried keeping the file local to the Fortune binary ("/usr/games/") as well as my home directory. When I try to create the index as in... "$fortune -u /home/andy/sig.txt" it tells me it's not a fortune file or directory.

Can anyone paste a sample of theirs or point me in the right direction?
 
Old 02-04-2009, 07:18 PM   #2
richwmn
LQ Newbie
 
Registered: Dec 2005
Location: Athens, GA
Distribution: Slackware (various),Ubuntu 9.04
Posts: 27

Rep: Reputation: 17
You have to run a program to set up the file -- one set of instructions is at
http://applegrew.blogspot.com/2007/0...r-fortune.html

You can then select only that fortune data file by changing the command to
fortune <datafile>


Rich
 
Old 02-05-2009, 04:40 AM   #3
cdnLilwolf
Member
 
Registered: Jan 2006
Location: Canada
Distribution: Kubuntu 11.10
Posts: 31

Original Poster
Rep: Reputation: 15
Should have guessed. Thanks, I got it.
 
  


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
not in executable format: File format not recognized ypy13 Linux - Newbie 9 07-09-2008 11:33 PM
gdb "not in executable format: File format not recognized" tcma Programming 9 07-18-2007 06:02 AM
iPod troubles :( (Mounted but can't format) Jorophose Linux - Newbie 6 04-10-2007 06:48 PM
File Format, etc. ostrowlaw Linux - Newbie 8 12-21-2006 08:36 AM
File format of .vnc file created by vncrec rktech83 Linux - Networking 0 08-17-2006 09:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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
Open Source Consulting | Domain Registration