News for hackers. Stuff that matters.
Re:Why is reading lines from stdin much slower in C++ than P... by shabble on Sunday March 11, 2012 @11:24AM (#3690491)
Nothing, except it's entirely unnecessary for this task.

See "Useless use of cat awards" from days of yore: http://partmaps.org/era/unix/award.html#uucaletter

Re:Why is reading lines from stdin much slower in C++ than P... by truncate on Sunday March 11, 2012 @04:08PM (#3691140)
I still prefer cat, as one simple mistake of < to > and the file is gone.