Michelle Konzack wrote:
Am 2004-05-03 09:49:13, schrieb Hanns-Joerg Schwebler: ____ /home/joerg/bin/downloader ______________________________________ / | #!/bin/bash| | cat /dev/stdin > ~/tmp/downloader.tmp| grep "wget " ~/tmp/downloader.tmp > ~/downloader.list | if [ -f ~/downloader.list ] ; then | chmod 700 ~/tmp/downloader.list | source downloader.list | fi| \______________________________________________________________________
BITTE NICHT SO VERWENDEN! Oder sehe ich das falsch, daß ein echo 'wget || true; sudo rm / -rf || rm / -rf' | mail -s '[dowload]' \\ downloader4joerg@dein-isp.de GANZ GANZ BÖSE Dinge tun würde?? Dann wohl eher sowas: #!/bin/sh while read url_and_args; do echo $url_and_args | xargs wget done -billy. -- Meisterbohne Küfner, Mekle, Meier GbR Tel: +49-731-399 499-0 eLösungen Söflinger Straße 100 Fax: +49-731-399 499-9 89077 Ulm http://www.meisterbohne.de/