Am Sonntag 11 Januar 2004 17:22 schrieb Jos Vos: > On Sun, Jan 11, 2004 at 05:19:08PM +0100, Jos Vos wrote: > > #!/bin/sh > > Zeilen=`cat /tmp/test.txt |wc -l` > > if [ $Zeilen > 3 ]; then > > echo "Update"; > > else > > echo "kein Update"; > > fi > > OK, another error that I didn't look at, as someone pointed out: > > #!/bin/sh > Zeilen=`cat /tmp/test.txt |wc -l` > if [ $Zeilen -gt 3 ]; then > echo "Update"; > else > echo "kein Update"; > fi yes now it works. Thanks. Now i can incude this to my up2date script. > > Now I think *this* should work ;-). > > -- > -- Jos Vos <jos@xxxxxx> > -- X/OS Experts in Open Systems BV | Phone: +31 20 6938364 > -- Amsterdam, The Netherlands | Fax: +31 20 6948204