Esta publicación es pequeña pero muy efectiva, básicamente se trata de un script para buscar en la wikipedia desde la consola, valiéndose simplemente del comando dig.
A continuación el script y un ejemplo.
El script:
$ cat buscaWikipedia.sh
#!/bin/sh
dig +short txt ${1}.wp.dg.cx
#!/bin/sh
dig +short txt ${1}.wp.dg.cx
Asignación de permiso de ejecución:
chmod +x buscaWikipedia.sh
Ejecución y salida:
./buscaWikipedia.sh spanglish
“Spanglish refers to the code-switching of \”English\” and \”Spanish\”, in the speech of the Hispanic population of the United States, Gibraltar and most of the spanish holiday resorts, who are exposed to both Spanish and English. http://en.wikipedia.org/wiki/” “Spanglish”
“Spanglish refers to the code-switching of \”English\” and \”Spanish\”, in the speech of the Hispanic population of the United States, Gibraltar and most of the spanish holiday resorts, who are exposed to both Spanish and English. http://en.wikipedia.org/wiki/” “Spanglish”
Vía: Pain Dev


daniel
marzo 27, 2012
OOOOOOhhhhhh probando… gracias