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 #58 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:52:04 +0000
[Message part 1 (text/plain, inline)]
On 1 February 2013 21:46, Paul Eggert <eggert <at> cs.ucla.edu> wrote:

> On 02/01/13 13:43, Reuben Thomas wrote:
> > What about a way to do it on a GNU system?
>
> I think it works if you set LC_ALL='C', as the
> C locale is unibyte on a GNU system, but someone
> should double-check this.
>

A bit of searching does not reveal to me how to verify or disprove this,
but how about using a known unibyte-locale such as an ISO8859 one? Or is
the problem then that there's none that can be guaranteed to exist?

-- 
http://rrt.sc3d.org
[Message part 2 (text/html, inline)]

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

Previous Next


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