Hacker News new | ask | show | jobs
by peterwaller 4287 days ago
Another method to protect against malformed output due to the connection being cut short - "shell armour":

http://drj11.wordpress.com/2014/03/19/piping-into-shell-may-...

  { echo { && curl https://thing && echo } ; } | sh