changeset 1:740c06c4ed3b draft

Uploaded
author p.lucas
date Wed, 14 Apr 2021 13:01:51 +0000
parents daf911dac808
children 8843bcb38558
files uniq_and_count.xml
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/uniq_and_count.xml	Wed Apr 14 12:23:00 2021 +0000
+++ b/uniq_and_count.xml	Wed Apr 14 13:01:51 2021 +0000
@@ -1,10 +1,11 @@
-<tool id="uniq_and_count" name="count redundant" version="0.1.0">
+<tool id="uniq_and_count" name="count redundant" version="1.0">
     <description>Count redundant lines in file.</description>
     <stdio>
         <exit_code range="1:" />
     </stdio>
-    <command>
-        uniq -c $input > $output
+    <command detect_errors="exit_code"><![CDATA[
+        uniq -c '${input}' > '${output}'
+    ]]>
     </command>
     <inputs>
         <param type="data" name="input" format="tab" label="Select your tab file :" />