Skip to content

Commit 68bc1b2

Browse files
committed
more info on glob
1 parent 2fd2365 commit 68bc1b2

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
@@ -447,15 +447,17 @@ those Docker format containers using the Singularity engine. Directly
447447
specifying a Singularity format container is not part of the CWL standards.
448448

449449
## How outputBinding.glob works
450-
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 `[]`
450+
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`.
451+
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.
452+
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 `[]`
451453

452454
```cwl
453455
outputs:
454456
example_out:
455457
type: File
456458
outputBinding:
457459
glob: hello.txt
458-
```
460+
```
459461

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

0 commit comments

Comments
 (0)