duplicate certain lines _A_ by murky-satyr

gets stdin k
set i 0
foreach s [split [read stdin] \n] {if {~[lsearch $k [incr i]]} {puts $s};puts $s}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page