Claudio escreveu:
Tudo bem, mas ae j� invadiu um universo de programa��o em C, o que n�o � nada
semelhante a "tail -f |ls -l /tmp", mas n�o deixa de ser uma alternativa.
(...)
hamacker,
deh uma olhada no FAM:
http://savannah.nongnu.org/projects/fam/
"FAM provides an API applications can use to be notified when specific files
or directories are changed. It is intended to be a more efficient and more
useful replacement for alternatives such as the poll and select system
calls."
N�o precisa (talvez nem deva) ser em C. Tem m�dulo FAM pra Perl, Ruby e
Python. Muito mais "civilizado". ;-)
Procure "FAM Perl" no Google, por ex.
[]s
Geraldo
---------------------------------------------------------------------------
Esta lista � patrocinada pela Conectiva S.A. Visite http://www.conectiva.com.br
Arquivo: http://bazar2.conectiva.com.br/mailman/listinfo/linux-br
Regras de utiliza��o da lista: http://linux-br.conectiva.com.br
FAQ: http://www.zago.eti.br/menu.html