Gorio3721 has asked for the wisdom of the Perl Monks concerning the following question:
This should be an easy one but I am stumped.
I have a script that generates an init file for the fvwm window manager (running under cygwin).
The script worked just fine using the cygwin build of perl (5.8.0.3 I think). I switched over to ActiveState perl and the script seems to run just fine (The output looks the same) but it creates an output file with both CR+LF terminating each line instead of just the the LF line terminator that the cygwin build produced.
I think that fvwm barfs when it sees CR+LF in it's config file.
How do I coax perl to just print only the LF on stdout?
NOTE: I'm only printing to standard out and not explicitly opening the output file (for now) but I'm willing to change that.
Thanks! Gorio
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: CR+LF
by jsprat (Curate) on Jun 19, 2003 at 02:07 UTC | |
by tye (Sage) on Jun 19, 2003 at 22:44 UTC | |
|
Re: CR+LF
by Thelonius (Priest) on Jun 19, 2003 at 03:25 UTC | |
|
Re: CR+LF
by svsingh (Priest) on Jun 19, 2003 at 00:54 UTC | |
by kelan (Deacon) on Jun 19, 2003 at 02:00 UTC | |
by svsingh (Priest) on Jun 19, 2003 at 15:05 UTC | |
|
Re: CR+LF
by bm (Hermit) on Jun 19, 2003 at 09:54 UTC | |
|
Re: CR+LF
by Gorio3721 (Acolyte) on Jun 19, 2003 at 16:09 UTC |