Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #32020
| Date | 2012-10-24 09:12 +0100 |
|---|---|
| From | Tim Golden <mail@timgolden.me.uk> |
| Subject | Re: Fast forward-backward (write-read) |
| References | <5086AA35.4000509@it.uu.se> <5086C156.40707@tim.thechases.com> <mailman.2677.1351012669.27098.python-list@python.org> <k66t6q$819$1@dont-email.me> <508793BF.30306@it.uu.se> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2741.1351066346.27098.python-list@python.org> (permalink) |
On 24/10/2012 08:07, Virgil Stokes wrote: > On 23-Oct-2012 22:03, Cousin Stanley wrote: >> Virgil Stokes wrote: >> >>> Not sure about "tac" --- could you provide more details on this >>> and/or a simple example of how it could be used for fast reversed >>> "reading" of a data file ? >> tac is available as a command under linux .... >> >> $ whatis tac >> tac (1) - concatenate and print files in reverse >> >> $ whereis tac >> tac: /usr/bin/tac /usr/bin/X11/tac /usr/share/man/man1/tac.1.gz >> >> $ man tac >> >> SYNOPSIS >> tac [OPTION]... [FILE]... >> >> DESCRIPTION >> >> Write each FILE to standard output, last line first. >> >> With no FILE, or when FILE is -, read standard input. >> >> >> I only know that the tac command exists >> but have never used it myself .... >> >> > Unfortunately, I may be forced to process the data on a Windows > platform; but, thanks Cousin for the Linux tip. Well, addressing that specific point, tac is available for Windows: http://unxutils.sourceforge.net/ No idea how efficient it is... TJG
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: Fast forward-backward (write-read) Virgil Stokes <vs@it.uu.se> - 2012-10-23 19:17 +0200
Re: Fast forward-backward (write-read) Cousin Stanley <cousinstanley@gmail.com> - 2012-10-23 20:03 +0000
Re: Fast forward-backward (write-read) Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-10-24 01:20 -0400
Re: Fast forward-backward (write-read) Virgil Stokes <vs@it.uu.se> - 2012-10-24 09:07 +0200
Re: Fast forward-backward (write-read) Tim Golden <mail@timgolden.me.uk> - 2012-10-24 09:12 +0100
csiph-web