rm outputfile
for i in $(ls|grep -v '\.dat$')
do
    cat $i >> outputfile
done

-jim

Damn! I've got some hard hards to repay! Thanks heaps. What I ended up doing...

rm outputfile
cd /usr/share/games/fortunes/
for i int $(ls|grep -v '\.dat$')
do
        cat $i >> outputfile
done

Thanks again
Now you can be blessed with more than just one of my fortunes!
Cheers
Anton

-=-=-
... A "critic" is a man who creates nothing and thereby feels qualified to judge
the work of creative men. There is logic in this; he is unbiased -- he hates
all creative people equally.

Reply via email to