Skip to content

Commit f29e52a

Browse files
committed
edit glob example
1 parent 67f4e36 commit f29e52a

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
@@ -447,7 +447,7 @@ 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 does glob work when describing output values?
450-
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.
450+
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.
451451

452452
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 `[]`.
453453

@@ -460,7 +460,7 @@ outputs:
460460
example_out:
461461
type: File
462462
outputBinding:
463-
glob: hello.txt
463+
glob: "hello.txt"
464464
```
465465

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

0 commit comments

Comments
 (0)