🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.perl
2 messages
2 total messages Started by Piotr manturzyk Sun, 30 Mar 1997 00:41
bajt \x0a w Perl for Win32
#151
Author: Piotr manturzyk
Date: Sun, 30 Mar 1997 00:41
17 lines
1100 bytes
Czesc!
Mam problem w perlu pod winda: (dygresja: \n oznacza \x0d\x0a)
jak chce wpiac do pliku \x0a, to ten ciec wpisuje
\x0d\x0a, a jak chce wpisac \x0d to wpisuje tylko \x0d.
Bug?
Jakies pomysly? Bo chce tabele w html-u skonwertowac
do wlasnego formatu binarnego, i wlasnie potrzebuje
zapisac bajt \x0a.
Perl jest w wersji 5.001, unofficial patchlevel 1m.
Maczowanie stringow w VB to katorga, ale chyba nic innego
mi nie pozostalo.

pozdrawiam
gandalf

-- 
Can't access /dev/hda2 :-(
Re: bajt \x0a w Perl for Win32
#152
Author: Zbigniew Zych
Date: Sun, 30 Mar 1997 00:49
16 lines
986 bytes
Piotr manturzyk <gandalf@mailserv.fh-merseburg.de>:
> Mam problem w perlu pod winda: (dygresja: \n oznacza \x0d\x0a)
> jak chce wpiac do pliku \x0a, to ten ciec wpisuje
> \x0d\x0a, a jak chce wpisac \x0d to wpisuje tylko \x0d.
> Bug?

Pomysł:
   man stty
   (inlcr, igncr, icrnl, ocrnl, onlcr, onocr, onlret, ....)


Opss... Winda???

Zbigniew Zych
--
http://onet.pl/~zych/
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads