News for hackers. Stuff that matters.
Re:Copying stdin to stdout in Java by sadfnjksdf on Wednesday March 26, 2014 @06:54AM (#7472610)
grep is even shorter:

    grep $
That reads lines from stdin and echoes to stdout.
Re:Copying stdin to stdout in Java by dvdkhlng on Wednesday March 26, 2014 @08:32AM (#7472917)
Grep expressions are not a turing-complete language, so I guess that won't count. You could claim that you solved the task using a shell script (that invoked the grep "function") but if you programmed in shell, the shortest solution AFAICS is

  #!/bin/sh
  cat