# HG changeset patch # User iuc # Date 1752232826 0 # Node ID 0b3a28ad3947246812ca0d096e1c8c5e11fae6f1 planemo upload for repository https://github.com/galaxyproject/tools-iuc/tree/main/tools/dos2unix/ commit 7e66ed2b5a95d5d1523524e5dc106bd9d4cb6b43 diff -r 000000000000 -r 0b3a28ad3947 dos2unix.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dos2unix.xml Fri Jul 11 11:20:26 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 0b3a28ad3947 macros.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/macros.xml Fri Jul 11 11:20:26 2025 +0000 @@ -0,0 +1,18 @@ + + 7.5.2 + 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 0b3a28ad3947 test-data/censored.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/censored.txt Fri Jul 11 11:20:26 2025 +0000 @@ -0,0 +1,2 @@ +本 +紙 \ No newline at end of file diff -r 000000000000 -r 0b3a28ad3947 test-data/censored_no_bom.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/censored_no_bom.txt Fri Jul 11 11:20:26 2025 +0000 @@ -0,0 +1,2 @@ +本 +紙 diff -r 000000000000 -r 0b3a28ad3947 test-data/info_censored_bom.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test-data/info_censored_bom.txt Fri Jul 11 11:20:26 2025 +0000 @@ -0,0 +1,1 @@ + 0 1 0 UTF-8 text test-data/censored.txt diff -r 000000000000 -r 0b3a28ad3947 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 Fri Jul 11 11:20:26 2025 +0000 @@ -0,0 +1,1 @@ + 0 1 0 no_bom text test-data/censored_no_bom.txt