Kevin B. O'Brien ([EMAIL PROTECTED]) wrote:
> 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,
Hey Kevin, 
Send me the file and not to the list. 
I'll try it here and see if the file size is the same.

-- 
RickS
~ Somewhere, just out of sight, the unicorns are gathering ~
____________________________________________________
Want to buy your Pack or Services from Mandriva? 
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to