Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.mixmin.net!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!talisker.lacave.net!lacave.net!not-for-mail From: Cee Joe Newsgroups: comp.lang.ruby Subject: Re: File position and buffers Date: Thu, 28 Apr 2011 13:29:13 -0500 Organization: Service de news de lacave.net Lines: 16 Message-ID: <591a0a6013482db87dd9625b6033fe62@ruby-forum.com> References: <10d8ae57765e21626a7c64873dcba807@ruby-forum.com> <6f3710886bbfa66d9bb6cb71ea04b6ee@ruby-forum.com> <95426fd6f1235f8f1a26cd8383acff10@ruby-forum.com> NNTP-Posting-Host: bristol.highgroove.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: talisker.lacave.net 1304016923 61877 65.111.164.187 (28 Apr 2011 18:55:23 GMT) X-Complaints-To: abuse@lacave.net NNTP-Posting-Date: Thu, 28 Apr 2011 18:55:23 +0000 (UTC) In-Reply-To: <95426fd6f1235f8f1a26cd8383acff10@ruby-forum.com> X-Received-From: This message has been automatically forwarded from the ruby-talk mailing list by a gateway at comp.lang.ruby. If it is SPAM, it did not originate at comp.lang.ruby. Please report the original sender, and not us. Thanks! For more details about this gateway, please visit: http://blog.grayproductions.net/categories/the_gateway X-Mail-Count: 382328 X-Ml-Name: ruby-talk X-Rubymirror: Yes X-Ruby-Talk: <591a0a6013482db87dd9625b6033fe62@ruby-forum.com> Xref: x330-a1.tempe.blueboxinc.net comp.lang.ruby:3649 7stud -- wrote in post #995596: > 7stud -- wrote in post #995589: >> >> Cee Joe, are you reading the file in binary mode or >> text mode? > > If you don't know, then show us the line in your code where you open the > file. f = File.open("test.fasta", "r") Where test.fasta contains the entries i posted earlier.. -- Posted via http://www.ruby-forum.com/.