Created
January 6, 2016 09:56
-
-
Save satta/0726c1f5088c713d320a to your computer and use it in GitHub Desktop.
Test workflow for single quote problem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
process test { | |
output: | |
file '*.out' into outfiles | |
""" | |
touch "test'file.out" | |
touch testfile2.out | |
""" | |
} | |
process next { | |
input: | |
file '*.out' from outfiles | |
output: | |
file '*.out2' into final_outfiles | |
""" | |
for fn in *.out; do mv \$fn `basename \$fn .out`.out2; done | |
""" | |
} | |
final_outfiles.subscribe { | |
println it | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment