Skip to content

Commit 0dc153e

Browse files
Arch-vileholgerbrandl
authored andcommitted
Fix package path on text processing mode doc (#211)
1 parent c6b78d1 commit 0dc153e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ Text Processing Mode
345345

346346
* 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.
347347
* Import the `kscript.*` namespace
348-
* Define variable `val lines = kscript.text.StreamUtilKt.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
348+
* 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
349349

350350

351351
This allows to to replace `awk`ward constructs (or `sed` or`perl`) with _kotlinesque_ solutions such as

0 commit comments

Comments
 (0)