We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c42e272 commit ba910e4Copy full SHA for ba910e4
src/test/kotlin/kscript/examples/AwkComparison.kt
@@ -96,6 +96,8 @@ object AwkExample : OneLinerContext(args) {
96
97
lines.split().select(with(0).and(1)).print()
98
lines.map { it.replace("NA\"; exonic_part_number \"", "NA\"; exonic_part_number \"i") }.print()
99
+
100
+ lines.split().mapIndexed { index, row -> "$index -> " + row.size }.print()
101
}
102
103
//file:///Users/brandl/Desktop/awk_cheatsheets.pdf
0 commit comments