Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #32015
| Date | 2012-10-24 09:07 +0200 |
|---|---|
| From | Virgil Stokes <vs@it.uu.se> |
| 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> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2738.1351064070.27098.python-list@python.org> (permalink) |
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.
Back to comp.lang.python | Previous | Next — Previous in thread | Next 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