Jeroen Ruigrok/asmodai wrote:
-On [20050925 15:52], Simon 'corecode' Schubert ([EMAIL PROTECTED]) wrote:
% test -f "`echo /modules/*`" && echo found
%
or:
if sh -c '[ -f $0 ] || exit 1' /modules/*; then
...
fi
(faster than stat)
or:
set -- /modules/*; \
if [ -f $1 ]; then
...
fi
(inline version, now my favourite)
--
Serve - BSD +++ RENT this banner advert +++ ASCII Ribbon /"\
Work - Mac +++ space for low $$$ NOW!1 +++ Campaign \ /
Party Enjoy Relax | http://dragonflybsd.org Against HTML \
Dude 2c 2 the max ! http://golden-apple.biz Mail + News / \