cvs commit: src/share/examples/diskless clone_root

Alexey Dokuchaev danfe at FreeBSD.org
Thu Sep 23 20:28:54 PDT 2004


On Thu, Sep 23, 2004 at 01:38:11PM -0600, M. Warner Losh wrote:
> In message: <xzpsm98vl6a.fsf at dwp.des.no>
>             des at des.no (Dag-Erling Sm?rgrav) 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?

or even echo -n >> $1

./danfe


More information about the cvs-src mailing list