Vi no 'rc' do vsftpd uns testes de condição dentro do arquivo de conf, vale a pena conferir lá ...
;) --- Alexandre Biancalana <[EMAIL PROTECTED]> wrote: > On 7/27/07, Alex <[EMAIL PROTECTED]> wrote: > > > > Existe alguma maneira de através de um script, > entrar dentro de um > > determinado arquivo de texto já existente e checar > se uma ou > > mais strings estão contidas neste arquivo? > > > > Por exemplo, algo parecido com isso: > > > > #!/bin/sh > > if [ egrep 'string1|string2' /var/temp1.txt ]; then > mail -s Arquivo [EMAIL PROTECTED] < temp.txt > else > rm temp.txt > fi > ------------------------- > Histórico: > http://www.fug.com.br/historico/html/freebsd/ > Sair da lista: > https://www.fug.com.br/mailman/listinfo/freebsd > -- Matheus Lamberti de Abreu http://matheuslamberti.blogspot.com "Viver é algo tão espantoso que sobra pouco tempo para qualquer outra coisa." (Emily Dickinson) ____________________________________________________________________________________ Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. http://farechase.yahoo.com/ ------------------------- Histórico: http://www.fug.com.br/historico/html/freebsd/ Sair da lista: https://www.fug.com.br/mailman/listinfo/freebsd