Skip to content

Commit d6e5142

Browse files
committed
more info on glob
1 parent 4f4c763 commit d6e5142

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/faq.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,15 +448,17 @@ those Docker format containers using the Singularity engine. Directly
448448
specifying a Singularity format container is not part of the CWL standards.
449449

450450
## How outputBinding.glob works
451-
The `outputBinding` section describes how to set the value of each output parameter. The `glob` field is used to return all files/pathnames that match a specific pattern. The value of the glob field is the `output directory` Wildcard characters can be used in the filenames when searching for files. The wildcard characters can either be an asterisk `*`, a question mark `?` or a range `[]`
451+
The `outputBinding` section describes how to set the value of each output parameter. The `glob` field is used to return all files/pathnames that match a specific pattern. The value of the glob field is the `output directory`.
452+
Glob's pattern rules abide to standard Unix path expansion rules. According to benchmarks, it is also expected to be faster than other methods for matching pathnames in directories.
453+
Wildcard characters can be used in the filenames when searching for files. The wildcard characters can either be an asterisk `*`, a question mark matching pathnames in directories. `?` or a range `[]`
452454

453455
```cwl
454456
outputs:
455457
example_out:
456458
type: File
457459
outputBinding:
458460
glob: hello.txt
459-
```
461+
```
460462

461463
The glob field in the above output section can also be written with the `*` wildcard character as
462464

0 commit comments

Comments
 (0)