cvs commit: src/sys/conf Makefile.amd64 Makefile.i386
Simon 'corecode' Schubert
corecode at fs.ei.tum.de
Sun Sep 25 07:18:05 PDT 2005
Jeroen Ruigrok/asmodai wrote:
-On [20050925 15:52], Simon 'corecode' Schubert (corecode at xxxxxxxxxxxx) 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 / \
More information about the Commits
mailing list