Manolo Martínez
11 months ago
elinks and surfraw
@Linux-Group @Arch Linux You might find this useful and/or fun, if you use elinks (compiled with lua scripting support) and have surfraw installed. The following script will use surfraw from within elinks. When entering an url (after pressing "g", that is), if you start with "!", the rest will be interpreted as arguments to surfraw. That is,

!piratebay wargames will look for wargames torrents at piratebay. The script is very simple, and it's here (linked because I've been unable to paste it to this post!)

it should be part (or whole) of ~/.elinks/hooks.lua. Enjoy.
Axel
11 months ago
wow that's cool ... like http://yubnub.org for the command line :)
Manolo Martínez
11 months ago
elinks is pretty cool indeed, and surfraw is not bad either :) Btw, you can search yubnub from elinks in the same way:

[code]!yubnub whatever[code]