Thread View: ch.comp.os.linux
5 messages
5 total messages
Started by Markus St�ssi
Sun, 07 Feb 1999 00:00
Wie strip'e ich ein file?
Author: Markus St�ssi
Date: Sun, 07 Feb 1999 00:00
Date: Sun, 07 Feb 1999 00:00
5 lines
686 bytes
686 bytes
Und wie mache ich das? Illegal character \015 (carriage return) at /home/cgi-bin/hi5.pl line 2. [Sun Feb 7 23:34:12 1999] [error] (Maybe you didn't strip carriage returns after a network transfer?) Mit bestem Dank Markus St�ssi
Re: Wie strip'e ich ein file?
Author: Roland Schneider
Date: Mon, 08 Feb 1999 00:00
Date: Mon, 08 Feb 1999 00:00
14 lines
1179 bytes
1179 bytes
"Markus Stüssi" <Webmaster@msi.ch> wrote in ch.comp.os.linux: >Und wie mache ich das? >Illegal character \015 (carriage return) at /home/cgi-bin/hi5.pl line 2. >[Sun Feb 7 23:34:12 1999] [error] (Maybe you didn't strip carriage returns >after a network transfer?) >Mit bestem Dank Markus Stüssi Text-Dateien von 'DOS-Editoren' müssen im ASCII-Modus übertragen werden oder noch besser gleich einen 'richtigen' Editor verwenden welcher das Unix-Format beherrscht (zB. UltraEdit & Co.) Roland
Re: Wie strip'e ich ein file?
Author: Adrian Sieber
Date: Mon, 08 Feb 1999 00:00
Date: Mon, 08 Feb 1999 00:00
14 lines
1124 bytes
1124 bytes
In article <79l4fj$mvf$1@online-5.internetplus.ch>, "Markus St�ssi" <Webmaster@msi.ch> writes: > Und wie mache ich das? > Illegal character \015 (carriage return) at /home/cgi-bin/hi5.pl line 2. > [Sun Feb 7 23:34:12 1999] [error] (Maybe you didn't strip carriage > returns after a network transfer?) cat hi5.pl | tr -d '\r' > hi5-without-cr.pl Gruss, -- Adrian Sieber -------------------------------------------------------------------- Institute of Computer Science - University of Fribourg (Switzerland)
Re: Wie strip'e ich ein file?
Author: Andreas Umbach
Date: Mon, 08 Feb 1999 00:00
Date: Mon, 08 Feb 1999 00:00
18 lines
1266 bytes
1266 bytes
Adrian Sieber <Adrian.Sieber@unifr.ch> wrote: : In article <79l4fj$mvf$1@online-5.internetplus.ch>, : "Markus St�ssi" <Webmaster@msi.ch> writes: :> Und wie mache ich das? :> Illegal character \015 (carriage return) at /home/cgi-bin/hi5.pl line 2. :> [Sun Feb 7 23:34:12 1999] [error] (Maybe you didn't strip carriage :> returns after a network transfer?) : cat hi5.pl | tr -d '\r' > hi5-without-cr.pl perl -npe 's/\r//'; -i hi5.pl Ist noch kuerzer und spart uns das 'mv hi5-without-cr.pl hi5.pl'. Alternativ (falls es mehrere Skripte sind): perl -npe 's/\r//'; -i *pl - Andreas
Re: Wie strip'e ich ein file?
Author: Matthias Leisi
Date: Mon, 08 Feb 1999 00:00
Date: Mon, 08 Feb 1999 00:00
11 lines
1148 bytes
1148 bytes
On Sun, 7 Feb 1999 23:35:38 +0100, Markus St�ssi wrote in ch.comp.os.linux: >Und wie mache ich das? >Illegal character \015 (carriage return) at /home/cgi-bin/hi5.pl line 2. >[Sun Feb 7 23:34:12 1999] [error] (Maybe you didn't strip carriage returns >after a network transfer?) Versuch 'mal "info recode" resp. auf SuSE-Distribution "dos2unix --help". Gruss, Matthias
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