# HG changeset patch # User iuc # Date 1760979435 0 # Node ID bf1e9386e828063c455b38a6d5e22d40f036ec2d planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/dos2unix commit 273375ad5619a511617f30f977b9734e656016fc diff -r 000000000000 -r bf1e9386e828 dos2unix.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dos2unix.xml Mon Oct 20 16:57:15 2025 +0000 @@ -0,0 +1,76 @@ + + + Convert text files with DOS or Mac line breaks to Unix line breaks and other text cleaning options. + + + macros.xml + + + topic_3572 + + + operation_0335 + + + '$output_file' + #else + dos2unix --newfile --safe $add_end_of_line $mac_mode $bom '$input_file' '$output_file' + #end if + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff -r 000000000000 -r bf1e9386e828 macros.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/macros.xml Mon Oct 20 16:57:15 2025 +0000 @@ -0,0 +1,18 @@ + + 7.5.3 + 0 + 23.2 + + + dos2unix + + + + @UNPUBLISHED{Waterlander2025, + author = "Erwin Waterlander" + title = "Dos2Unix / Unix2Dos - Text file format converters" + year = "2025" + note = "https://sourceforge.net/projects/dos2unix/"} + + + diff -r 000000000000 -r bf1e9386e828 test-data/censored.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/censored.txt Mon Oct 20 16:57:15 2025 +0000 @@ -0,0 +1,2 @@ +本 +紙 \ No newline at end of file diff -r 000000000000 -r bf1e9386e828 test-data/censored_no_bom.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/censored_no_bom.txt Mon Oct 20 16:57:15 2025 +0000 @@ -0,0 +1,2 @@ +本 +紙 diff -r 000000000000 -r bf1e9386e828 test-data/info_censored_bom.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/info_censored_bom.txt Mon Oct 20 16:57:15 2025 +0000 @@ -0,0 +1,1 @@ + 0 1 0 UTF-8 text test-data/censored.txt diff -r 000000000000 -r bf1e9386e828 test-data/info_censored_no_bom.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/info_censored_no_bom.txt Mon Oct 20 16:57:15 2025 +0000 @@ -0,0 +1,1 @@ + 0 1 0 no_bom text test-data/censored_no_bom.txt