Re:Your top 100 unix commands, for science
by angersock on Sunday May 19, 2013 @01:21PM
(#5733575)
In case anyone is interested in the relevant incantation:
OP, maybe add a curl command or something to post the resulting answer to your website form?
[ Parent
| on HN ]
Re:Your top 100 unix commands, for science
by hackerpants on Sunday May 19, 2013 @01:23PM
(#5733583)
Excellent idea! I am investigating how to best do that.
This should submit the commands but not any of the optional questions:
hist=`history | awk '{print $2}' | sort | uniq -c | sort -rn | head -n 100`; curl --data-urlencode -i -X POST -H 'Content-Type: application/x-www-form-urlencoded; charset=utf-8' -d "draftResponse=%5B%5D%0D%0A&pageHistory=0&entry.194207258=&entry.1414618252=&entry.1080345712=$hist" https://docs.google.com/forms/d/1XNMoSdfYFe_WkPfU--M88oL00PDLIOAo1HxjhZvZYJ4/formResponse