๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ASCII hexadecimale waarde omzetten naar karakter?

#644
From: Lieven Marchand
Date: Sun, 14 Dec 2003 12:26
20 lines
1730 bytes
"St๏ฟฝphanie Vanhove" <Stephanie.vanhove@pandora.be> writes:

> ik gebruik idd bash ...
> bedankt voor de echo $'\x40' tip!
> ik slaag er echter wel niet in om hier een variabele in te steken, en dat
> heb ik toch wel nodig ...
> enig idee?
> alvast bedankt!

Gewoon een niveau van evaluatie toevoegen.

mal@tower:~$ A=\\x40
mal@tower:~$ echo $A
\x40
mal@tower:~$ eval "echo $'$A'"
@

-- 
An amateur practices until he gets it right,
A professional practices until she can't get it wrong.
Technical Details
Message-ID: <871xr7twjl.fsf@wyrd.be>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!proxad.net!skynet.be!213.51.129.3.MISMATCH!newshub1.home.nl!home.nl!news2.euro.net!newsfeed.wxs.nl!textnews.wxs.nl!wyrd.be!not-for-mail
References: <2bLCb.76327$KE5.3091519@phobos.telenet-ops.be> <87smjoxrl8.fsf@wyrd.be> <T4OCb.76521$ZN5.3203201@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-14 05:14:07 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!proxad.net!skynet.be!213.51.129.3.MISMATCH!newshub1.home.nl!home.nl!news2.euro.net!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: 14 Dec 2003 13:26:38 +0100
Organization: Only under extreme pressure
Lines: 20
Message-ID: <871xr7twjl.fsf@wyrd.be>
References: <2bLCb.76327$KE5.3091519@phobos.telenet-ops.be> <87smjoxrl8.fsf@wyrd.be> <T4OCb.76521$ZN5.3203201@phobos.telenet-ops.be>
NNTP-Posting-Host: u212-239-147-149.dialup.planetinternet.be
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: reader08.wxs.nl 1071407967 21700 212.239.147.149 (14 Dec 2003 13:19:27 GMT)
X-Complaints-To: abuse@planet.nl
NNTP-Posting-Date: 14 Dec 2003 13:19:27 GMT
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp)