Why can I not pipe into adb shell?
[klm@kth ~]$ echo foo | adb shell cat
^C
The above command hangs on my 4.0.1 emulator, and I\'m
This is correct. This functionality has not been implemented.
Update:
A lot of bugs have been fixed and new features implemented in adb since the time the original question had been posted. Including support for proper stdin handling by adb shell. So there is no need for the netcat workarounds anymore.