DragonFly commits List (threaded) for 2005-09
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: cvs commit: src/sys/conf Makefile.amd64 Makefile.i386
Jeroen Ruigrok/asmodai wrote:
-On [20050925 15:52], Simon 'corecode' Schubert (corecode@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 / \
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]