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
I'm just wondering if the rm and cd lines above should be switched around, or is there something else you're intending to achieve there.
-- Paul Wilkins
