diff --git a/docs/snippets/your-first-script.nf b/docs/snippets/your-first-script.nf index 0217cae8fc..28db2c25bc 100644 --- a/docs/snippets/your-first-script.nf +++ b/docs/snippets/your-first-script.nf @@ -4,6 +4,7 @@ process splitLetters { output: path 'chunk_*' + script: """ printf '${params.str}' | split -b 6 - chunk_ """ @@ -16,6 +17,7 @@ process convertToUpper { output: stdout + script: """ cat $x | tr '[a-z]' '[A-Z]' """