Hi Dirk,

Debian 5.0.7 uses a different implementation of dos2unix (tofrodos) which doesn't perform the check. That explains the difference in behaviour.

Your quick workaround is to use the -f option on Debian 6. Option -f will force conversion.

dos2unix -f w2k3.txt

Could you try the latest dos2unix?
Download http://www.xs4all.nl/~waterlan/dos2unix/dos2unix-5.2.1-beta2.tar.gz
Unpack and compile a local version with DEBUG=1.

make clean install DEBUG=1 prefix=$HOME

Then use this version of dos2unix:

$HOME/bin/unix2dos /mnt/temp/win2k-share/test2k.txt /mnt/temp/win2k3-share/test2k3.txt /mnt/temp/win2k8-share/test2k8.txt

Could you give the output?

regards,

Erwin Waterlander



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to