Skip site navigation (1)Skip section navigation (2)
Date:      03 Oct 2001 12:54:36 -0700
From:      swear@blarg.net (Gary W. Swearingen)
To:        Nathan Mace <nmace85@yahoo.com>, questions@FreeBSD.ORG
Subject:   Re: favorite ports?
Message-ID:  <jobsjolcsj.sjo@localhost.localdomain>
In-Reply-To: <15290.56821.22560.324180@guru.mired.org>
References:  <15290.56821.22560.324180@guru.mired.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Meyer <mwm@mired.org> writes:

> 	$ cd /usr/ports
> 	$ find . -maxdepth 3 -name pkg-descr | xargs more

Nice idea.  I wondered by find's -exec wasn't used and I
found out why, but at least it starts faster:

    find /usr/ports -maxdepth 3 -name pkg-descr -exec \
    sh -c "echo @@@@@ {} @@@@@ ; less -P '%f' {} " \;

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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