Skip to content

Commit 003bb64

Browse files
committed
edit glob example
1 parent 9c9123d commit 003bb64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/faq.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ 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 does glob work when describing output values?
451-
The field outputBinding describes how to to set the value of each output parameter. The 'glob' field specifies a pattern to find files/directories relative to the output directory. The pattern used for glob' must be either relative to the output directory, an absolute path to the output directory, or an absolute path to an input file.
451+
The field outputBinding describes how to set the value of each output parameter. The 'glob' field specifies a pattern to find files/directories relative to the output directory. The pattern used for glob' must be either relative to the output directory, an absolute path to the output directory, or an absolute path to an input file.
452452

453453
CWL uses the POSIX glob(3) pathname matching. Wildcards are allowed in the glob field and are useful when If you don’t know the exact name of a file or directory in advance. The wildcard characters can either be an asterisk *, a question mark matching pathnames in directories. `?` or a range `[]`.
454454

@@ -461,7 +461,7 @@ outputs:
461461
example_out:
462462
type: File
463463
outputBinding:
464-
glob: hello.txt
464+
glob: "hello.txt"
465465
```
466466

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

0 commit comments

Comments
 (0)