bug-textutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch for cat


From: M G Berberich
Subject: Re: Patch for cat
Date: Sun, 21 Apr 2002 15:18:59 +0200
User-agent: Mutt/1.3.27i

Hello,

Am Sunday, den 21. April 2002 13:13:16 schrieb berberic:
> I appended a patch for cat.c. 

I'm very sorry, but as I just noticed the patch was not against the
original sources, but against a patched version of the sources from my
linux-distribution. This time I attached the (hopefully) correct patch.
(I repeat the explanation:)

cat -v prints every character out of 32..127 as ^ or M- notation. This
might be sufficient for the english speaking world, but is an anoyance
for europeans, because it destroys text strings containing accented
charakters, umlauts, etc. I added a new option (-p or
--show-locale-chars) that does not change characters that are
printable in the actual locale (using isprint).

This is quite usefull for non-english-speaking peoples because it
allows to "strip" control-chars from a "text"-stream without
destroying accented characters, umlauts, ...

        MfG
        bmg

-- 
"Des is völlig wurscht, was heut beschlos- | M G Berberich
 sen wird: I bin sowieso dagegn!"          | address@hidden
(SPD-Stadtrat Kurt Schindler; Regensburg)  |

Attachment: textutil-diff.patch
Description: Text document

Attachment: pgpLBpVO47MEO.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]