[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Finding .m files on Mac with Tiger
From: |
Paul Kienzle |
Subject: |
Re: Finding .m files on Mac with Tiger |
Date: |
Fri, 15 Jul 2005 19:21:09 -0400 |
On Jul 15, 2005, at 3:56 PM, Joe Koski wrote:
on 7/15/05 12:25 PM, Henry F. Mollet at address@hidden wrote:
In my Fink installation of Octave 2.1.46 on iMac with OS X 10.8, it
was
installed in /sw which is visible in the Finder Window and
Finder/Find will
find any .m file.
Henry,
For poking around in /usr/local on my Mac, the key UNIX tool that I
use is
"find" as a replacement for the Finder.
First, cd /usr (or cd /usr/local) in terminal; then, as an example,
find . -name "*octave*" -print
and you'll get a list of all files and directories in /usr (the . means
start in the current directory) that contain the string "octave" in
their
name.
locate is also very useful:
locate .m
Usually you need to use it with grep:
locate .m | grep "filt.*[.]m$" ;# find all filt*.m files
locate uses a database created by updatedb. I don't remember doing
anything to enable it, but this is an inherited mac, so your milage may
vary.
- Paul
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------