Wireshark mailing list archives
Re: TPG tool files
From: Douglas Wood <doug.wood () ieee org>
Date: Thu, 13 Sep 2012 17:45:01 -0400
There are options for installing CYGWIN on Windows on how to handle CRLF. I can't remember where the configuration information is stored. It isn't just in the mount file. But, eventually, I figured out that it was better to have CYGWIN handling Linux mode and where necessary, do the explicit dos2unix/unix2dos (this was the command in the last version of CYGWIN I installed, the command name has subsequently changed in some versions of Linux, so it might not be an option with that name anymore, option was named something like textutils as I recall). I made the decision to make CYGWIN go with unix conventions rather than Windows convention many years ago due to incompatibility of scripts with Linux/Unix/Solaris/HPUX when going back and forth. Bash certainly doesn't handle CR-LF at all and other programs do "magical" processing of what to include as a line when doing something like a readline(). Doug Sent from my iPad On Sep 13, 2012, at 5:34 PM, Gisle Vanem <gvanem () broadpark no> wrote:
"Guy Harris" <guy () alum mit edu> wrote:found a bunch of stuff about problems with Perl scripts processing text files, and some stuff about problems with *bash* handling shell scripts with CR-LF line endings, but nothing specifically about Perl.Thank for the CygWin info Guy. Yap is a Perl script. So "problems with Perl scripts processing text files" AFAICS apply here since tpg.yp is a text file with CRLF endings. I'll check the Cygwin '/etc/mount' options more closely. --gv ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- TPG tool files Gisle Vanem (Sep 13)
- Re: TPG tool files Jeff Morriss (Sep 13)
- Re: TPG tool files Guy Harris (Sep 13)
- Re: TPG tool files Gisle Vanem (Sep 13)
- Re: TPG tool files Douglas Wood (Sep 13)
- Re: TPG tool files Guy Harris (Sep 13)
- Re: TPG tool files Guy Harris (Sep 13)
- Re: TPG tool files Gisle Vanem (Sep 13)
- Re: TPG tool files Jeff Morriss (Sep 13)