3 ms·
I found this article interesting to explain a bit more [1]. Then I was still not happy and tried it myself. Basically it is a tool that lets you choose what fro
by Bjoern 16y ago
I found this article interesting to explain a bit more [1].
Then I was still not happy and tried it myself. Basically it is a tool that lets you choose what frontend you want to use e.g. w3m, lynx, firefox etc. and gives you shortcuts to certain interesting pages [2] you might want to access on CLI. That shortcut again has also a help page - very interesting for scripting. It's sort of like the "dict" command but for all kind of webpages.
I played around...
surfraw -browser="dlynx" translate -from=fr -to=en la verite vous liberera | head -50
> Will show the proper translation
surfraw -browser="dlynx" piratebay 2012 | egrep -i "\.torrent" | head -1 | sed 's/^[0-9. ]*//g' | xargs -iin wget in
> Will download a torrent file from piratebay
etc.
[1] http://crazylazy.info/blog/content/scrapers-surfraw http://crazylazy.info/blog/content/scrapers-surfraw
[2] http://surfraw.alioth.debian.org/#elvilist http://surfraw.alioth.debian.org/#elvilist