Thread tabs drucken (15 answers)
Opened by gma at 2007-06-07 01:41

bloonix
 2007-06-07 15:02
#77359 #77359
User since
2005-12-17
1615 Artikel
HausmeisterIn
[Homepage]
user image
[quote=gma,07.06.2007, 07:49]Danke erstmal (TIM.... = there is more than one thing how to do it?)![/quote]
Korrekt. Solange dein Code keine wilden sachen macht und lesbar bleibt -
das ist er in deinem Fall, weil er einfach ist -, dann schreib wie du lustig bist.

[quote=gma,07.06.2007, 07:49]perl -e 'print "\t"'[/quote]
ptk wollte von dir, dass du die Ausgabe an den Befehl "od" weiterreichst.

od - dump files in octal and other formats
-c     same as -t c,  select ASCII characters or backslash escapes


Code: (dl )
perl -e 'print "\t"'|od -c

Bei mir wird dann folgendes ausgegeben:

Code: (dl )
1
2
3
$ perl -e 'print "\t"'|od -c
0000000  \t
0000001

Ich kenne mich damit zwar nicht aus, aber er wird schon wissen - und
andere hier vielleicht auch - was es damit auf sich hat.

Ob es den Befehl auf Mac gibt... dunno.\n\n

<!--EDIT|opi|1181244226-->
What is a good module? That's hard to say.
What is good code? That's also hard to say.
One man's Thing of Beauty is another's man's Evil Hack.

View full thread tabs drucken