awk/testdir/t.substr1

2 lines
35 B
Plaintext

NR % 2 { print substr($0, 0, -1) }