Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Offtopic linux question

Author: Robert Hyatt

Date: 10:52:43 11/09/01

Go up one level in this thread


On November 09, 2001 at 10:40:59, pete wrote:

>On November 09, 2001 at 10:32:09, Gian-Carlo Pascutto wrote:
>
>>On November 09, 2001 at 09:35:38, James Swafford wrote:
>>
>>>Is there a cool way to dump, say, the first N bytes or the
>>>first N lines of a file into another file?
>>
>>'head'
>>--
>>GCP
>
>"head" won't work in a reliable way with very big files. OK- enough off-topic
>;-).
>
>pete


??

Head -5000 will grab the first 5000 lines from a text file of _any_ size.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.