[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Patch for cat
From: |
M G Berberich |
Subject: |
Patch for cat |
Date: |
Sun, 21 Apr 2002 13:13:16 +0200 |
User-agent: |
Mutt/1.3.27i |
Hello,
I appended a patch for cat.c.
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, ...
Patch against textutils-2.0 attached.
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) |
textutil-diff.patch
Description: Text document
pgpyFuOnz8PBC.pgp
Description: PGP signature
- Patch for cat,
M G Berberich <=