Skip to content

Commit 7573d84

Browse files
committed
fixed typo
1 parent e0fdcd1 commit 7573d84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,9 @@ println("hello again")
9292
EOF
9393
```
9494

95-
Finally (for sake of completeness) it also works with process substitution
95+
Finally (for sake of completeness) it also works with process substitution and for sure you can always provide additional arguments (exposed as `args : Array<String>` within the script)
9696
```{bash}
97-
kscript <(echo 'println("k-onliner")')
97+
kscript - arg1 arg2 arg3 <(echo 'println("k-onliner")')
9898
```
9999

100100
Inlined _kscripts_ are also cached based on `md5` checksum, so running the same snippet again will use a cached jar (sitting in `$TMPDIR`).

0 commit comments

Comments
 (0)