๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.os.unix
Article #640

Re: ASCII hexadecimale waarde omzetten naar karakter?

#640
From: Lieven Marchand
Date: Sat, 13 Dec 2003 22:47
20 lines
1574 bytes
"St๏ฟฝphanie Vanhove" <Stephanie.vanhove@pandora.be> writes:

> Hallo,
> 
> Weet iemand hoe je een hexadecimale waarde kan omzetten naar het
> overeenkomstig karakter?
> Bv. in een reguliere expressie, of met sed, of met tr of zo ??
> 
> Alvast bedankt!

Als je bash gebruikt zit het gewoon ingebakken.

mal@tower:/mnt3$ echo $'\x40'
@

ksh en andere shells hebben soortgelijke dingen. Welke shell gebruik je?

-- 
An amateur practices until he gets it right,
A professional practices until she can't get it wrong.
Technical Details
Message-ID: <87smjoxrl8.fsf@wyrd.be>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!skynet.be!213.51.129.3.MISMATCH!newshub1.home.nl!home.nl!borium.box.nl!newsfeed.wxs.nl!textnews.wxs.nl!wyrd.be!not-for-mail
References: <2bLCb.76327$KE5.3091519@phobos.telenet-ops.be>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII
X-Google-Thread: 109d4a,197959232aec5cd8
X-Google-Attributes: gid109d4a,public
X-Google-ArrivalTime: 2003-12-13 14:50:29 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!skynet.be!213.51.129.3.MISMATCH!newshub1.home.nl!home.nl!borium.box.nl!newsfeed.wxs.nl!textnews.wxs.nl!wyrd.be!not-for-mail
From: Lieven Marchand <mal@wyrd.be>
Newsgroups: be.comp.os.unix
Subject: Re: ASCII hexadecimale waarde omzetten naar karakter?
Date: 13 Dec 2003 23:47:47 +0100
Organization: Only under extreme pressure
Lines: 20
Message-ID: <87smjoxrl8.fsf@wyrd.be>
References: <2bLCb.76327$KE5.3091519@phobos.telenet-ops.be>
NNTP-Posting-Host: u212-239-158-23.goplanet.pi.be
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: reader10.wxs.nl 1071355950 12869 212.239.158.23 (13 Dec 2003 22:52:30 GMT)
X-Complaints-To: abuse@planet.nl
NNTP-Posting-Date: 13 Dec 2003 22:52:30 GMT
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp)