Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.os.linux > #59252 > unrolled thread

very simple editor for HUGE text files (500-1000 MB of plain text)

Started bySoviet_Mario <SovietMario@CCCP.MIR>
First post2019-10-08 19:17 +0200
Last post2019-10-11 03:47 +0200
Articles 5 on this page of 105 — 20 participants

Back to article view | Back to alt.os.linux


Contents

  very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-08 19:17 +0200
    Re: very simple editor for HUGE text files (500-1000 MB of plain text) Grant Taylor <gtaylor@tnetconsulting.net> - 2019-10-08 11:23 -0600
    Re: very simple editor for HUGE text files (500-1000 MB of plain text) "J.O. Aho" <user@example.net> - 2019-10-08 19:40 +0200
      Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-08 19:47 +0200
        Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Lyle H. Gray" <lylefitzw@no.spam.gmail.com.invalid> - 2019-10-08 13:41 -0500
          Re: very simple editor for HUGE text files (500-1000 MB of plain text) William Unruh <unruh@invalid.ca> - 2019-10-08 21:01 +0000
          Re: very simple editor for HUGE text files (500-1000 MB of plain text) Chris Elvidge <chris@mshome.net> - 2019-10-10 09:59 +0100
        Re: very simple editor for HUGE text files (500-1000 MB of plain text) "J.O. Aho" <user@example.net> - 2019-10-08 21:50 +0200
          Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-08 23:15 +0200
            Re: very simple editor for HUGE text files (500-1000 MB of plain text) Grant Taylor <gtaylor@tnetconsulting.net> - 2019-10-08 20:20 -0600
              Re: very simple editor for HUGE text files (500-1000 MB of plain text) Melzzzzz <Melzzzzz@zzzzz.com> - 2019-10-09 06:09 +0000
              Re: very simple editor for HUGE text files (500-1000 MB of plain text) RonB <ronb02NOSPAM@gmail.com> - 2019-10-10 19:24 +0000
            Re: very simple editor for HUGE text files (500-1000 MB of plain text) "J.O. Aho" <user@example.net> - 2019-10-09 07:01 +0200
              Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-09 14:14 +0200
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) "J.O. Aho" <user@example.net> - 2019-10-09 19:28 +0200
                  Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-09 20:17 +0200
        Re: very simple editor for HUGE text files (500-1000 MB of plain text) Melzzzzz <Melzzzzz@zzzzz.com> - 2019-10-09 06:07 +0000
          Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-09 14:17 +0200
            Re: very simple editor for HUGE text files (500-1000 MB of plain text) Aragorn <thorongil@telenet.be> - 2019-10-09 14:52 +0200
      Re: very simple editor for HUGE text files (500-1000 MB of plain text) Bud Frede <frede@mouse-potato.com> - 2019-10-13 08:49 -0400
    Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-08 19:43 +0200
      Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-08 19:47 +0200
        Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Lyle H. Gray" <lylefitzw@no.spam.gmail.com.invalid> - 2019-10-08 13:39 -0500
        Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-09 22:23 +0200
          Re: very simple editor for HUGE text files (500-1000 MB of plain text) John Hasler <jhasler@newsguy.com> - 2019-10-09 17:42 -0500
            Re: very simple editor for HUGE text files (500-1000 MB of plain text) gazelle@shell.xmission.com (Kenny McCormack) - 2019-10-10 00:42 +0000
          Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-10 08:42 +0200
            Re: very simple editor for HUGE text files (500-1000 MB of plain text) Aragorn <thorongil@telenet.be> - 2019-10-10 09:21 +0200
              Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-10 12:09 +0200
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-10 12:14 +0200
                  Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-10 15:07 +0200
                    Re: very simple editor for HUGE text files (500-1000 MB of plain text) Chris Elvidge <chris@mshome.net> - 2019-10-10 14:17 +0100
                    Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-10 16:06 +0200
                      Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-10 21:42 +0200
                    Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Cybe R. Wizard" <cybe_r_wizard@WizardsTower.invalid> - 2019-10-10 13:17 -0500
                      Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-10 20:54 +0200
                        Re: very simple editor for HUGE text files (500-1000 MB of plain text) John Hasler <jhasler@newsguy.com> - 2019-10-10 19:01 -0500
                          Re: very simple editor for HUGE text files (500-1000 MB of plain text) Aragorn <thorongil@telenet.be> - 2019-10-11 08:53 +0200
                            Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-11 11:08 +0200
                          Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-11 11:06 +0200
                            Re: very simple editor for HUGE text files (500-1000 MB of plain text) Dan Purgert <dan@djph.net> - 2019-10-11 10:46 +0000
                              Re: very simple editor for HUGE text files (500-1000 MB of plain text) John Hasler <jhasler@newsguy.com> - 2019-10-11 11:17 -0500
                                Re: very simple editor for HUGE text files (500-1000 MB of plain text) Dan Purgert <dan@djph.net> - 2019-10-11 17:32 +0000
                        Re: very simple editor for HUGE text files (500-1000 MB of plain text) RonB <ronb02NOSPAM@gmail.com> - 2019-10-11 03:12 +0000
                          Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-11 08:34 +0200
                          Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-11 11:19 +0200
                            Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-11 11:55 +0200
                      Re: very simple editor for HUGE text files (500-1000 MB of plain text) Mike Easter <MikeE@ster.invalid> - 2019-10-10 11:56 -0700
                        Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Cybe R. Wizard" <cybe_r_wizard@WizardsTower.invalid> - 2019-10-10 14:38 -0500
                          Re: very simple editor for HUGE text files (500-1000 MB of plain text) RonB <ronb02NOSPAM@gmail.com> - 2019-10-11 03:22 +0000
                        Re: very simple editor for HUGE text files (500-1000 MB of plain text) RonB <ronb02NOSPAM@gmail.com> - 2019-10-11 03:18 +0000
                    Re: very simple editor for HUGE text files (500-1000 MB of plain text) Bud Frede <frede@mouse-potato.com> - 2019-10-13 09:57 -0400
                  Re: very simple editor for HUGE text files (500-1000 MB of plain text) RonB <ronb02NOSPAM@gmail.com> - 2019-10-11 03:04 +0000
                    Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-11 11:23 +0200
                      Re: very simple editor for HUGE text files (500-1000 MB of plain text) RonB <ronb02NOSPAM@gmail.com> - 2019-10-11 21:29 +0000
                  Re: very simple editor for HUGE text files (500-1000 MB of plain text) Jasen Betts <jasen@xnet.co.nz> - 2019-10-11 03:48 +0000
                    Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-11 11:28 +0200
                      Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-11 11:56 +0200
                      Re: very simple editor for HUGE text files (500-1000 MB of plain text) F Russell <fr@random.info> - 2019-10-11 10:12 +0000
                        Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-11 13:25 +0200
                          Re: very simple editor for HUGE text files (500-1000 MB of plain text) William Unruh <unruh@invalid.ca> - 2019-10-11 11:52 +0000
                          Re: very simple editor for HUGE text files (500-1000 MB of plain text) Dan Purgert <dan@djph.net> - 2019-10-11 11:55 +0000
                            Re: very simple editor for HUGE text files (500-1000 MB of plain text) "F. Russell" <frussell@random.info> - 2019-10-11 12:19 +0000
                              Re: very simple editor for HUGE text files (500-1000 MB of plain text) Dan Purgert <dan@djph.net> - 2019-10-11 12:21 +0000
                                Re: very simple editor for HUGE text files (500-1000 MB of plain text) "F. Russell" <frussell@random.info> - 2019-10-11 12:43 +0000
                                  Re: very simple editor for HUGE text files (500-1000 MB of plain text) Dan Purgert <dan@djph.net> - 2019-10-11 13:15 +0000
                                  Re: very simple editor for HUGE text files (500-1000 MB of plain text) Bud Frede <frede@mouse-potato.com> - 2019-10-13 10:27 -0400
                                    Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-13 19:51 +0200
                                      Re: very simple editor for HUGE text files (500-1000 MB of plain text) John Hasler <jhasler@newsguy.com> - 2019-10-13 19:43 -0500
                                Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Cybe R. Wizard" <cybe_r_wizard@WizardsTower.invalid> - 2019-10-11 10:11 -0500
                              Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-11 19:45 +0200
                          Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-11 19:15 +0200
                          Re: very simple editor for HUGE text files (500-1000 MB of plain text) RonB <ronb02NOSPAM@gmail.com> - 2019-10-11 21:14 +0000
                    Re: very simple editor for HUGE text files (500-1000 MB of plain text) RonB <ronb02NOSPAM@gmail.com> - 2019-10-11 21:08 +0000
                      Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-12 10:07 +0200
                      Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-12 14:29 +0200
                        Re: very simple editor for HUGE text files (500-1000 MB of plain text) RonB <ronb02NOSPAM@gmail.com> - 2019-10-12 22:51 +0000
                          Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-13 19:53 +0200
                            Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-13 20:49 +0200
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) William Unruh <unruh@invalid.ca> - 2019-10-10 19:07 +0000
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) RonB <ronb02NOSPAM@gmail.com> - 2019-10-11 03:01 +0000
                  Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-11 08:38 +0200
            Re: very simple editor for HUGE text files (500-1000 MB of plain text) RonB <ronb02NOSPAM@gmail.com> - 2019-10-11 02:59 +0000
              Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-11 11:30 +0200
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) Dan Purgert <dan@djph.net> - 2019-10-11 11:02 +0000
                  Re: very simple editor for HUGE text files (500-1000 MB of plain text) RonB <ronb02NOSPAM@gmail.com> - 2019-10-11 21:34 +0000
                  Re: very simple editor for HUGE text files (500-1000 MB of plain text) Bud Frede <frede@mouse-potato.com> - 2019-10-13 10:12 -0400
                    Re: very simple editor for HUGE text files (500-1000 MB of plain text) Dan Purgert <dan@djph.net> - 2019-10-13 15:06 +0000
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) RonB <ronb02NOSPAM@gmail.com> - 2019-10-11 21:31 +0000
              Re: very simple editor for HUGE text files (500-1000 MB of plain text) Bud Frede <frede@mouse-potato.com> - 2019-10-13 10:05 -0400
          Re: very simple editor for HUGE text files (500-1000 MB of plain text) Bud Frede <frede@mouse-potato.com> - 2019-10-13 09:47 -0400
            Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-13 19:58 +0200
    Re: very simple editor for HUGE text files (500-1000 MB of plain text) F Russell <fr@random.info> - 2019-10-08 19:31 +0000
      Re: very simple editor for HUGE text files (500-1000 MB of plain text) Soviet_Mario <SovietMario@CCCP.MIR> - 2019-10-08 23:19 +0200
        Re: very simple editor for HUGE text files (500-1000 MB of plain text) F Russell <fr@random.info> - 2019-10-08 21:31 +0000
          Re: very simple editor for HUGE text files (500-1000 MB of plain text) Dan Purgert <dan@djph.net> - 2019-10-08 23:11 +0000
        Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-09 22:27 +0200
          Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Cybe R. Wizard" <cybe_r_wizard@WizardsTower.invalid> - 2019-10-09 23:37 -0500
            Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-10 15:09 +0200
              Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Cybe R. Wizard" <cybe_r_wizard@WizardsTower.invalid> - 2019-10-10 13:20 -0500
                Re: very simple editor for HUGE text files (500-1000 MB of plain text) Aragorn <thorongil@telenet.be> - 2019-10-11 08:57 +0200
                  Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Cybe R. Wizard" <cybe_r_wizard@WizardsTower.invalid> - 2019-10-11 09:51 -0500
          Re: very simple editor for HUGE text files (500-1000 MB of plain text) Bud Frede <frede@mouse-potato.com> - 2019-10-13 09:35 -0400
    Re: very simple editor for HUGE text files (500-1000 MB of plain text) Paul <nospam@needed.invalid> - 2019-10-10 21:21 -0400
      Re: very simple editor for HUGE text files (500-1000 MB of plain text) "Carlos E.R." <robin_listas@es.invalid> - 2019-10-11 03:47 +0200

Page 6 of 6 — ← Prev page 1 2 3 4 5 [6]


#59387

FromAragorn <thorongil@telenet.be>
Date2019-10-11 08:57 +0200
Message-ID<20191011085748.13412bd4@nx-74205>
In reply to#59356
On 10.10.2019 at 13:20, Cybe R. Wizard scribbled:

> On Thu, 10 Oct 2019 15:09:06 +0200
> "Carlos E.R." <robin_listas@es.invalid> wrote:
> 
> > 'mc' (Midnight Commander). In case you ask, CLI, of course.  
> > >> View file is "F3".
> > >> You can do a search on an entire directory, and then go directly
> > >> to view the finds.
> > >>
> > >> Yes, there are GUI alternatives to 'mc', but I'm not telling.
> > >> They are slower.
> > >>    
> > > Not a single one of those 'file manglers' can help you when you
> > > inadvertently screw up the GUI.  MC definitely can.
> > >     
> > 
> > Absolutely. It is a must have on a rescue disk.  
> 
> ...or your main drive.  It has saved my bacon on many occasions when I
> found that I wasn't nearly as smart as I thought I was.

I do hope for your own wellbeing that you ate it before it got spoiled?

Bacon is not known for its ability to be kept indefinitely, you know.
Even Sir Francis had to eventually morph into William.

:p



-- 
With respect,
= Aragorn =

[toc] | [prev] | [next] | [standalone]


#59411

From"Cybe R. Wizard" <cybe_r_wizard@WizardsTower.invalid>
Date2019-10-11 09:51 -0500
Message-ID<20191011095112.300f2fc0@WizardsTower>
In reply to#59387
On Fri, 11 Oct 2019 08:57:48 +0200
Aragorn <thorongil@telenet.be> wrote:

> On 10.10.2019 at 13:20, Cybe R. Wizard scribbled:
> 
> > On Thu, 10 Oct 2019 15:09:06 +0200
> > "Carlos E.R." <robin_listas@es.invalid> wrote:
> >   
> > > 'mc' (Midnight Commander). In case you ask, CLI, of course.    
> > > >> View file is "F3".
> > > >> You can do a search on an entire directory, and then go
> > > >> directly to view the finds.
> > > >>
> > > >> Yes, there are GUI alternatives to 'mc', but I'm not telling.
> > > >> They are slower.
> > > >>      
> > > > Not a single one of those 'file manglers' can help you when you
> > > > inadvertently screw up the GUI.  MC definitely can.
> > > >       
> > > 
> > > Absolutely. It is a must have on a rescue disk.    
> > 
> > ...or your main drive.  It has saved my bacon on many occasions
> > when I found that I wasn't nearly as smart as I thought I was.  
> 
> I do hope for your own wellbeing that you ate it before it got
> spoiled?
> 
> Bacon is not known for its ability to be kept indefinitely, you know.
> Even Sir Francis had to eventually morph into William.
> 
> :p
> 
No bacon shall survive!
-- 
Cybe R. Wizard

Bacon's not the only thing that's cured by hanging from a string.
	Hugh Kingsmill
	

[toc] | [prev] | [next] | [standalone]


#59497

FromBud Frede <frede@mouse-potato.com>
Date2019-10-13 09:35 -0400
Message-ID<h0gngmFgg7eU2@mid.individual.net>
In reply to#59312
"Carlos E.R." <robin_listas@es.invalid> writes:

>
> Then, 'mc' (Midnight Commander). In case you ask, CLI, of course.
> View file is "F3".
> You can do a search on an entire directory, and then go directly to view
> the finds.
>
> Yes, there are GUI alternatives to 'mc', but I'm not telling. They are
> slower.

I was using mc at one point. I felt more comfortable using it. It did
help me learn where things are in the filesystem. Then I started using
systems where mc wasn't available and I was forced to learn how to use
the shell more. I quickly found that I didn't want to use mc even where
it was available because it slowed me down.

I'm not sure when I last used mc, but I don't think I've used it this
century.

It can be very helpful at first to have tools like mc or some GUI tools,
but I've found that it's valuable to put in the time to learn at least
some of the basics of working with the shell. If nothing else, it gives
you more options so you can actually decide what works best for you.

At work I use a Mac. It has Spotlight, which is a fairly powerful search
tool. However, when I need to look for a file, I almost always jump to a
terminal (iTerm2 is really nice) and use find, grep, etc. There's a
thought process needed when you're writing a command at the shell that
helps me figure out what exactly I need to do. I feel it's harder to
narrow things down like that with the GUI.

[toc] | [prev] | [next] | [standalone]


#59372

FromPaul <nospam@needed.invalid>
Date2019-10-10 21:21 -0400
Message-ID<qnolfg$er1$1@dont-email.me>
In reply to#59252
Soviet_Mario wrote:
> 
> Is it there such a thing ?
> Even a simple "viewer" (but with minimal, but FAST, search capability) 
> could do
> 
> I'm generating text log files upwards of 300-400 MB and LbO gets stuck 
> sucking all memory.
> After all it is overkill for just viewing and scrolling fast the text.
> 
> I have a lot of small editors, none of which fit for management of huge 
> text files.
> 
> Meanwhile I'm writing from scratch a patch reading fixed size frames 
> with random access (and trimming broken head/tail textlines from the 
> frame) but this is ugly :\
> 

sudo snap install notepad-plus-plus      # allow ten minutes for snap-related downloads

notepad-plus-plus big.txt                # 50 seconds for (auto) WINE prep and open

notepad-plus-plus big.txt                # 11 seconds subsequent usage

big.txt  989,750,080 bytes

Note that notepad-plus-plus does not handle
"infinite" files and perhaps 1.5GB would be
the limit (I have not tested this).

It seems to be working at the ~1GB range.

To generate a text sample, I converted a 36,300 page PDF
to a text file with pdftotext, in case anyone was wondering
at the strange text sample in this picture. It's the biggest
source of gibberish I've got. It's also the PDF test file I
use to weed out PDF readers that never get tested on
large documents :-)

https://i.postimg.cc/1R0pPJBZ/notepad-plus-plus.gif

    Paul

[toc] | [prev] | [next] | [standalone]


#59374

From"Carlos E.R." <robin_listas@es.invalid>
Date2019-10-11 03:47 +0200
Message-ID<mi357g-8jf.ln1@Telcontar.valinor>
In reply to#59372
On 11/10/2019 03.21, Paul wrote:
> Soviet_Mario wrote:
>>
>> Is it there such a thing ?
>> Even a simple "viewer" (but with minimal, but FAST, search capability)
>> could do
>>
>> I'm generating text log files upwards of 300-400 MB and LbO gets stuck
>> sucking all memory.
>> After all it is overkill for just viewing and scrolling fast the text.
>>
>> I have a lot of small editors, none of which fit for management of
>> huge text files.
>>
>> Meanwhile I'm writing from scratch a patch reading fixed size frames
>> with random access (and trimming broken head/tail textlines from the
>> frame) but this is ugly :\
>>
> 
> sudo snap install notepad-plus-plus      # allow ten minutes for
> snap-related downloads
> 
> notepad-plus-plus big.txt                # 50 seconds for (auto) WINE
> prep and open
> 
> notepad-plus-plus big.txt                # 11 seconds subsequent usage
> 
> big.txt  989,750,080 bytes
> 
> Note that notepad-plus-plus does not handle
> "infinite" files and perhaps 1.5GB would be
> the limit (I have not tested this).
> 
> It seems to be working at the ~1GB range.
> 
> To generate a text sample, I converted a 36,300 page PDF
> to a text file with pdftotext, in case anyone was wondering
> at the strange text sample in this picture. It's the biggest
> source of gibberish I've got. It's also the PDF test file I
> use to weed out PDF readers that never get tested on
> large documents :-)
> 
> https://i.postimg.cc/1R0pPJBZ/notepad-plus-plus.gif
> 
>    Paul

cer@Telcontar:~> time base64 /dev/urandom | \
  head -c 1000000000  > gigabyte.txt

real	0m7,469s
user	0m2,057s
sys	0m6,172s
cer@Telcontar:~>

cer@Telcontar:~> time less gigabyte.txt

real	0m12,121s
user	0m10,166s
sys	0m0,488s
cer@Telcontar:~>

12 seconds to display a 1 gygabyte text file from start to end.


Emacs, which is a GUI editor, took a bit more but was very fast. It
asked if I really wanted to open a file that big. All in all, 30 seconds.

leafpad, another GUI editornd has stalled the whole system. One minute
20 seconds to do it.


It really is not that difficult - but still, "less" is the faster one.




Trying a 5 gigabyte text file.

Creation:

cer@Telcontar:~> time base64 /dev/urandom | head -c 5000000000  >
5gigabyte.txt

real	0m34,068s
user	0m11,110s
sys	0m29,618s
cer@Telcontar:~>

Displaying:

cer@Telcontar:~> time less 5gigabyte.txt

real	0m57,113s
user	0m51,329s
sys	0m3,106s
cer@Telcontar:~>


-- 
Cheers, Carlos.

[toc] | [prev] | [standalone]


Page 6 of 6 — ← Prev page 1 2 3 4 5 [6]

Back to top | Article view | alt.os.linux


csiph-web