Thread Problem mit Zeilenbruch hex(0d) (8 answers)
Opened by giordano at 2012-08-04 19:27

pq
 2012-08-06 22:53
#160673 #160673
User since
2003-08-04
12208 Artikel
Admin1
[Homepage]
user image
einige infos dazu findest du auch in Perldoc:perlport unter dem punkt Newlines.
zitat:
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
       Some of this may be confusing.  Here's a handy reference to the ASCII CR and LF characters.
You can print it out and stick it in your wallet.

LF eq \012 eq \x0A eq \cJ eq chr(10) eq ASCII 10
CR eq \015 eq \x0D eq \cM eq chr(13) eq ASCII 13

| Unix | DOS | Mac |
---------------------------
\n | LF | LF | CR |
\r | CR | CR | LF |
\n * | LF | CRLF | CR |
\r * | CR | CR | LF |
---------------------------
* text-mode STDIO
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread Problem mit Zeilenbruch hex(0d)