Skip to content

Commit d2d5ff9

Browse files
committed
fixed dependency locator
1 parent 0a2b5a6 commit d2d5ff9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,11 +381,12 @@ Note, that if a script is located in a package other than the root package, you
381381

382382
`kscript` can be used as a speedier and more flexible substitute for built-in terminal text tools such as `awk` or `sed`. Its text processing mode can be enabled with `-t` or `--text`. If so, `kscript` will
383383

384-
* Declare `com.github.holgerbrandl:kscript-support:1.2.4` as dependency for the script. This [support library](https://github.com/holgerbrandl/kscript-support-api) eases the writing of Kotlin scriptlets for text-processing. It includes solutions to common use-cases like argument parsing, data streaming, IO utilities, and various iterators to streamline the writing of scriptlets for text processing.
384+
* Declare `com.github.holgerbrandl:kscript-support-api:1.2.5` as dependency for the script. This [support library](https://github.com/holgerbrandl/kscript-support-api) eases the writing of Kotlin scriptlets for text-processing. It includes solutions to common use-cases like argument parsing, data streaming, IO utilities, and various iterators to streamline the writing of scriptlets for text processing.
385385
* Import the `kscript.*` namespace
386386
* Define variable `val lines = kscript.text.resolveArgFile(args)` which returns an iterator over the lines in the first input argument of the script, or the standard input if no file arguments are provided to the script
387387

388388

389+
389390
This allows to to replace `awk`ward constructs (or `sed` or`perl`) with _kotlinesque_ solutions such as
390391

391392
```bash

0 commit comments

Comments
 (0)