On Sat, 2006-02-11 at 21:24 -0500, RickSisler wrote: > Kevin B. O'Brien ([EMAIL PROTECTED]) wrote: > > [...] > > Rick, I don't know how many ways I can screw this up, but now I discover > > that the strfile command is creating an empty file. I start with a file > > that is over 19K large, and the output is a file that is 32 Bytes. > Actually, the file is a binary file with a header so fortune can read > it randomly, IIUC. Which is why its smaller. > > > So > > now it is saying that it cannot find any fortunes. > is your file setup like this? > > % > quote 1 > % > quote 2 > % > quote 3 > % > > if so, then could you post the output of the terminal results? > maybe shed some more light (yeah I'm reaching now)
Ok, first I created a simple test file as follows: % "Whenever you find that you are on the side of the majority, it is time to reform." -- Mark Twain % Then I create the DAT file as follows: [EMAIL PROTECTED] Signatures]# strfile kobtaglines1.txt "kobtaglines1.txt.dat" created There was 1 string Longest string: 103 bytes Shortest string: 103 bytes [EMAIL PROTECTED] Signatures]# But when I check the properties of the resulting kobtaglines1.txt.dat file, I see that the file is 32 Bytes long. Thank you, -- Kevin B. O'Brien TANSTAAFL [EMAIL PROTECTED] Registered Linux user #333216 We're all in this alone. -- Lily Tomlin ____________________________________________________ Want to buy your Pack or Services from Mandriva? Go to http://store.mandriva.com Join the Club : http://www.mandrivaclub.com ____________________________________________________
