On Friday 2011-04-22 13:40, Pavol Rusnak wrote:
On 22/04/11 13:09, Juergen Weigert wrote:
Dos2unix is not that bad. You may want to avoid 'dos2unix -c iso' which also mangles the encoding. I've updated the wiki page to reflect those details. Malcolm, do you confirm?
I don't get it.
the wikipage says:
You must not use dos2unix in iso mode, because that not only changes CRLF to LF, but also changes the encoding from CP437 to ISO-8859-1. Use one of:
* dos2unix -c ascii file * ... other options
But when I check dos2unix manpage it says:
-c, --convmode CONVMODE Set conversion mode. Where CONVMODE is one of: ascii, 7bit, iso, mac with ascii being the default.
So -c ascii does not make sense I guess as dos2unix by default uses ascii and not iso. For the same reason the whole "must not use dos2unix in iso mode" warning seems invalid.
-c ascii was not always the default. Now it is. Irk. One more reason to have just used perl. Better safe than sorry. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org