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 <[email protected]> wrote: > "Guy Harris" <[email protected]> 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 <[email protected]> > Archives: http://www.wireshark.org/lists/wireshark-dev > Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev > mailto:[email protected]?subject=unsubscribe ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <[email protected]> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:[email protected]?subject=unsubscribe
