You are not logged in.

#1 2010-05-27 16:20:22

martindemello
Member
Registered: 2009-01-16
Posts: 13

dos2unix has the wrong default behaviour

The standard dos2unix package extra/hd2u has the wrong default behaviour - calling it on a file that already has unix line endings flips it to dos. Also, it doesn't install a unix2dos executable at all.

I've made an upstream request for the author to fix this, but if he decides not to, would it be possible for arch to have postinstall scripts that move the main executable out of the path, and set up dos2unix and unix2dos wrappers that call it with -U and -D respectively? This would keep in line with the expected behaviour of these commands.

Offline

Board footer

Powered by FluxBB