Date: 2009-10-16 07:40 pm (UTC)
From: [identity profile] faceted-jacinth.livejournal.com
> А за "С:"?
wat
> А за "\"?
FYI the DOS escape is ^. It's just different, not worse in any way. Also, DOS works with parameters in a quite comprehensible way. It takes like a half an hour to write a compatible commandline parser in Python, and it actually looks great, like I dunno, it shrinks to a simplest possible attractor, and when it's there, it works.
> Ещё бы найти ссуку, которая конец строки в Досе определила как два аски символа...
CR: Carriage return, '\r', moves carriage to the initial position
LF: Line Feed, '\n', moves the caret to the next line.
Это не они придумали, в общем-то. Что забавно, распечатывание текстов с левыми \r, особенно под цигвином, до сих пор работает как задумано. В смысле, `printf('some shit'); printf('\rsome other shit');` оставляет на экране строку "some other shit".

December 2025

S M T W T F S
  123 4 56
78 9 10 11 1213
1415 1617181920
21 22 23 24 2526 27
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Dec. 29th, 2025 11:48 am
Powered by Dreamwidth Studios