Bug 15215

Summary: Outputting in Fortune under certain circumstances renders the .dat file unreadable.
Product: Base System Reporter: david <david>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.3-RELEASE   
Hardware: Any   
OS: Any   

Description david 1999-12-01 22:20:01 UTC
Entering fortune -m "a" limerick > filename gives the message [Warning: file "startrek.dat" unreadable]. This occurred on four seperate machines, and will work with any Fortune database. This was run with a user account, group 'wheel'. It is consistent.

Fix: 

Enter path before output file ( fortune -m "a" limerick > path/filename)
How-To-Repeat: Occurs consistently.
Comment 1 Johan Karlsson freebsd_committer freebsd_triage 2000-12-16 17:11:19 UTC
State Changed
From-To: open->closed

I can not repeate this on a 4.1-STABLE machine. 
Seems to have been fixed, if you still have this problem  
in more recent releases please open a new PR 
with as much details as possible. 

BTW the command I used was 
/usr/games/fortune -m "a" limerick > aa 
which works.