add nextflow d30e48d
This commit is contained in:
27
nextflow/tests-v1/escape-globs.nf
Normal file
27
nextflow/tests-v1/escape-globs.nf
Normal file
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/env nextflow
|
||||
|
||||
process foo {
|
||||
|
||||
input:
|
||||
path x
|
||||
|
||||
output:
|
||||
path x
|
||||
path 'file-\\*.txt'
|
||||
path 'file-?.txt', glob: false
|
||||
|
||||
'''
|
||||
touch file-\\*.txt
|
||||
touch file-\\?.txt
|
||||
'''
|
||||
|
||||
}
|
||||
|
||||
workflow {
|
||||
Channel.fromPath("$baseDir/data/file\\[a-b\\].txt") | foo
|
||||
|
||||
foo.out[0].view { "match: ${it.name}" }
|
||||
foo.out[1].view { "match: ${it.name}" }
|
||||
foo.out[2].view { "match: ${it.name}" }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user