Skip to content

Commit

Permalink
Merge pull request #32 from Alanamosse/master
Browse files Browse the repository at this point in the history
fix bug when escapes in cat file text, quotes for string
  • Loading branch information
Alanamosse authored May 18, 2018
2 parents d046faf + 6125e34 commit e85b0fe
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tools/filters/grep.xml
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
<tool id="Grep1" name="Select" version="1.1.1">
<description>lines that match an expression2</description>
<command interpreter="python">
##\$(cat '$condi_source_regex.pattern_file');
grep.py
-i $input
-o $out_file1
-o $out_file1
-v $invert
-pattern
#if $condi_source_regex.source_regex=="stdin"
'$condi_source_regex.pattern'
#else
\$(cat '$condi_source_regex.pattern_file')
"\$(cat '$condi_source_regex.pattern_file')"
#end if
-v $invert
</command>
<inputs>
<param format="txt" name="input" type="data" label="Select lines from"/>
Expand Down

0 comments on commit e85b0fe

Please sign in to comment.