Skip to content

Commit ba910e4

Browse files
committed
cosmetics
1 parent c42e272 commit ba910e4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/test/kotlin/kscript/examples/AwkComparison.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ object AwkExample : OneLinerContext(args) {
9696

9797
lines.split().select(with(0).and(1)).print()
9898
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()
99101
}
100102
}
101103
//file:///Users/brandl/Desktop/awk_cheatsheets.pdf

0 commit comments

Comments
 (0)