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  9 22:13:56 2012
> New Revision: 235209
> URL: http://svn.freebsd.org/changeset/base/235209
>
> Log:
>  Add a few new tips and update some old ones to more modern commands
>
>  MFC after:    1 week
>
> Modified:
>  head/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
>  or one its subdirectories:
>
> -       "make search name=<port-name>"
> +       "make -C /usr/ports search name=<port-name>"
>     or
> -       "make search key=<keyword>"
> +       "make -C /usr/ports search key=<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>