GNU bug report logs - #12115
Please add tip about using tac to reverse a file byte-by-byte

Previous Next

Package: coreutils;

Reported by: Reuben Thomas <rrt <at> sc3d.org>

Date: Wed, 1 Aug 2012 21:46:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


Message #52 received at 12115-done <at> debbugs.gnu.org (full text, mbox):

From: Reuben Thomas <rrt <at> sc3d.org>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 12115-done <at> debbugs.gnu.org
Subject: Re: bug#12115: Please add tip about using tac to reverse a file
	byte-by-byte
Date: Fri, 1 Feb 2013 21:43:19 +0000
[Message part 1 (text/plain, inline)]
On 1 February 2013 21:36, Paul Eggert <eggert <at> cs.ucla.edu> wrote:

> On 02/01/13 11:14, Reuben Thomas wrote:
>
> > Given how long it took how many experts to come up with a valid
> > incantation, it seems to me it *is* a useful documentation example.
>
> Sure, but the valid incantation is a bit confusing, and it's not
> documented correctly (it reverses characters, not bytes).
> As far as I know there's no portable way to use 'tac' to
> reverse a file byte-by-byte.
>

Thanks!

What about a way to do it on a GNU system? It seems reasonable to document
GNU-specific hacks in GNU documentation when a portable solution is not
forthcoming.
[Message part 2 (text/html, inline)]

This bug report was last modified 12 years and 154 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.