Re:Curl, 17 years old today
by zimpenfish on Friday March 20, 2015 @05:52AM
(#9236820)
`lynx -dump` was a very useful tool.
[ Parent
| on HN ]
I had to use that the other year whilst attempting to migrate an old old old Slackware box running on two Pentium 3s with an array of SCSI disks (so quite fancy for its time!). The machine had kernel sources that were different to the kernel running so no chance of compiling various bits of software, and I couldn't grab any GCC (EGCS?) binaries from anywhere.
I can't remember what I eventually did but I do remember discovering lynx -dump, so thanks for the reminder!
I still can't stop myself typing `lynx -mime_header` to see server headers!
why not
lynx -head -dump http://httpbin.org
Your version dumps the body as well, which is hard to parse if you just need the headers.On another note: Thanks for curl - it's always high up in my charts somehow. Right now #2 in
history 0 | awk '{print $2}' | sort | uniq -c | sort -n -r | head -n 20