duplicate certain lines _A_ by pooq

a=readLines("stdin")
write(a[sort(c(scan(textConnection(a[1]))+1,2:length(a)))],"")

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

download

return to the top page