Settings

The page will reload to apply your changes.
Theme

ASCII Art Font

ASCII Art Menu

Original Usenet message from de.alt.rec.ascii-art, 19 Sep 2002.
Re: [Anfrage] Laeufer fuer die Sig

Re: [Anfrage] Laeufer fuer die Sig

Hans Freitag <mac...@president.eu.org> wrote:

>/usr/bin/perl -ne 'chomp;if($ARGV[0] eq "h"){@array=split(" ");
>foreach(@array){print chr(hex($_));}}else{for($i=0;$i<length($_);$i++)
>{printf("%X ",ord(substr($_,$i,1)));}}print "\n";'

Irgendwie ist das f�r eine MSDOS-Kommandozeile zu lang... Au�erdem hat
DOS was gegen die "".

Ich hab es mal zu

perl -ne "chomp;if(/^ /){print chr hex for split 
q/ /;}else{printf(q/%X /,ord) for split q//;}print qq/\n/;"

umgeschrieben. Da das mit dem ARGV nicht wollte, habe ich es so
gemacht, dass ein Leerraum am Anfang Hex2Ascii macht und keiner
umgekehrt.

Michael
-- 
"New" PGP Key! User ID: Michael Schierl <sch...@gmx.de>
Key ID: 0x58B48CDD    Size: 2048    Created: 26.03.2002
Fingerprint:  68CE B807 E315 D14B  7461 5539 C90F 7CC8
http://home.arcor.de/mschierlm/mschierlm.asc

Original message headers
X-Google-Language: GERMAN,ASCII
X-Google-Thread: f7c81,3aac3b7619b690f5
X-Google-Attributes: gidf7c81,public
X-Google-ArrivalTime: 2002-09-19 12:43:07 PST
Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!b58be.pppool.DE!not-for-mail
From: Michael Schierl <sch...@gmx.de>
Newsgroups: de.alt.rec.ascii-art
Subject: Re: [Anfrage] Laeufer fuer die Sig
Date: Thu, 19 Sep 2002 21:42:27 +0200
Lines: 24
Message-ID: <amd9c6$4ukd7$6...@ID-39741.news.dfncis.de>
References: <slr...@maschine.vermtech.de> <3d860b20$0$166$9b6...@news.freenet.de> <3D8...@alcatel.de> <am5ov5$2vk2t$1...@ID-54909.news.dfncis.de> <am78n9$b2...@news.Informatik.Uni-Oldenburg.DE> <am87dh$3iia9$2...@ID-39741.news.dfncis.de> <am9vse$fr...@news.Informatik.Uni-Oldenburg.DE> <200...@darkzone.president.eu.org>
Reply-To: sch...@gmx.de
NNTP-Posting-Host: b58be.pppool.de (213.7.88.190)
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: fu-berlin.de 1032464586 5198247 213.7.88.190 (16 [39741])
X-Newsreader: Forte Agent 1.92/32.570
Xref: archiver1.google.com de.alt.rec.ascii-art:4266
About this message. This message was posted publicly to the newsgroup de.alt.rec.ascii-art in 2002 and is mirrored here unchanged as part of the Historic Archives – only email addresses are masked. The artwork and text belong to their original authors: if you copy a piece, keep the artist's initials or signature intact and credit them where you can. Are you the author? Contact us to get your posts attributed, connected to your artist profile, or removed.

Report this message

Help us keep the archive clean and accurate. Reports are reviewed by a person – nothing is changed automatically.

Help classify this post