bug-gnu-utils
[Top][All Lists]
Advanced

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

SED collation sequence


From: william moss
Subject: SED collation sequence
Date: Wed, 06 Aug 2014 16:27:13 -0400
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Icedove/24.6.0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Debian
uname -a
Linux bbunny 3.2.0-4-686-pae #1 SMP Debian 3.2.60-1+deb7u3 i686 GNU/Linux

sed(1) collation sequence \x00-\x1f would not work, \x01-\x1f works
fine. The \x00 works on a custom system of mine with the save version of
sed(1) but with a 3.4.91 kernel compiled by me.

Sed version on both is 4.2.1.

command used is
A=$( 'the result of a call to an application'
        |& sed -r -e's/\x00-\x1f\x80-\xff/?/g' )

The idea is to duplicate the output format of ls(1) with respect to non
printing characters, those outside the normal 7 bit ASCII range.

Not a big deal, I simply used \x01, but figured that it would be
something to note.

- -- 
William (Bill) Moss
address@hidden
NY (USA)

Those who will not reason, are bigots,
those who cannot, are fools,
and those who dare not, are slaves.
    by Lord Byron
Justice will not be served until those who are
unaffected are as outraged as those who are.
    by Benjamin Franklin
That government is best which governs least.
    Henry David Thoreau
Honor, justice and humanity forbid us tamely to
surrender that freedom which we received from
our gallant ancestors and which our innocent
posterity have a right to receive from us. We
cannot endure the infamy and guilt of resigning
succeeding generations to that wretchedness which
inevitably awaits them if we basely entail
hereditary bondage on them.
    by Thomas Jefferson
       Declaration of the Causes and Necessities
       of Taking up Arms
       6 July 1775
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iF4EAREIAAYFAlPij50ACgkQpY/BHpBmP2pbogD+JiAmIWDPjv1Z4zNKNtplW3R9
xVTWSVgDhyz8zvy3CBUA/2MdNfk4i2MuHgYR5kDEev76o/vHZ4r6OokeQ7wEDtQI
=da15
-----END PGP SIGNATURE-----



reply via email to

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