Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Why curl defaults to stdout.
#!/usr/bin/env sh case $(curl -sLI $1 | grep -i content-type) in *text*) echo "curl $1" ;; *) echo "curl $1 > $(basename $1)" ;; esac
Costs of one round trip though.
There are no comments on this comment yet.
Costs of one round trip though.