Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Sep 2004 13:38:11 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        des@des.no
Cc:        cvs-src@freebsd.org
Subject:   Re: cvs commit: src/share/examples/diskless clone_root
Message-ID:  <20040923.133811.98093041.imp@bsdimp.com>
In-Reply-To: <xzpsm98vl6a.fsf@dwp.des.no>
References:  <20040923120543.B72856@xorpc.icir.org> <20040923191538.GG25699@odin.ac.hmc.edu> <xzpsm98vl6a.fsf@dwp.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <xzpsm98vl6a.fsf@dwp.des.no>
            des@des.no (Dag-Erling Sm=F8rgrav) writes:
: You can easily implement 'touch' with sh and test:
: =

: touch() {
:     /bin/test -e "$1" || :>"$1"
: }

doesn't
	cat /dev/null >> $1
do the same thing?

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040923.133811.98093041.imp>