Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 May 2012 16:05:09 -0700
From:      Garrett Cooper <yanegomi@gmail.com>
To:        Eitan Adler <eadler@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r235209 - head/games/fortune/datfiles
Message-ID:  <CAGH67wRw02XAE0-sqBEfswkUh2X7B0Xec3utUJixH0tqJMpA5w@mail.gmail.com>
In-Reply-To: <201205092213.q49MDvuk005057@svn.freebsd.org>
References:  <201205092213.q49MDvuk005057@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 9, 2012 at 3:13 PM, Eitan Adler <eadler@freebsd.org> wrote:
> Author: eadler
> Date: Wed May =A09 22:13:56 2012
> New Revision: 235209
> URL: http://svn.freebsd.org/changeset/base/235209
>
> Log:
> =A0Add a few new tips and update some old ones to more modern commands
>
> =A0MFC after: =A0 =A01 week
>
> Modified:
> =A0head/games/fortune/datfiles/freebsd-tips


...

> -Want to find a specific port, just type the following under /usr/ports,
> +Want to find a specific port, just type the following
> =A0or one its subdirectories:
>
> - =A0 =A0 =A0 "make search name=3D<port-name>"
> + =A0 =A0 =A0 "make -C /usr/ports search name=3D<port-name>"
> =A0 =A0 or
> - =A0 =A0 =A0 "make search key=3D<keyword>"
> + =A0 =A0 =A0 "make -C /usr/ports search key=3D<keyword>"

I've been told multiple times that YMMV for make -C vs cd ; make, FYI,
so I've modified my behavior to match the cd ; make idiom. Interesting
why I've only been told this in BSD circles though...

...

> +Want to go the directory you were just in?
> +In tcsh you can type "cd -"

Same with sh ;)...

-Garrett



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