🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.sysadmin
Article #1695

Re: Fast find won't in 3.0

#1695
From: Moises Oliveira
Date: Fri, 02 Oct 1992 08:03
30 lines
1498 bytes
In article <HARDY.92Oct1223541@golem.ps.uci.edu> hardy@golem.ps.uci.edu (Meinhard E. Mayer (Hardy)) writes:
>In preparation for the update to 3.0 (and the news that find stopped
>working),

Find has always used regexp (that's regular expression) to search for files
when using both the normal method and fast find.

In the past, the fast find has always accepted an impled star (* == match
anything) on both ends of the expression.  So if you typed

find myfile

Find would translate that to

find *myfile*

With the current version of find you must place your own stars on the
expression.  Since you (whoever is reading this) are probably using csh, you
will probably need to escape the stars.  So you would type.

find \*myfile\*

or

find "*myfile*"

This new method allows you to do things like 
find ~/\*.m | more
which will show you all .m files inside your home folder (instead of all 
.m files, everywhere on the hard drive)
Technical Details
Message-ID: <1992Oct2.080355.25077@nevada.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!nevada.edu!oliverm
References: <1992Oct1.151152.11977@socrates.umd.edu> <1992Oct1.175214.24003@ornl.gov> <HARDY.92Oct1223541@golem.ps.uci.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.sysadmin
Path: arc1-ca.pugleaf.net!sparky!uunet!nevada.edu!oliverm
From: oliverm@nevada.edu (Moises Oliveira )
Subject: Re: Fast find won't in 3.0
Message-ID: <1992Oct2.080355.25077@nevada.edu>
Summary:  REGEXP!
Sender: news@nevada.edu (USENET News System)
Nntp-Posting-Host: helios.nevada.edu
Organization: Organization? Ha, don't make me laugh
References: <1992Oct1.151152.11977@socrates.umd.edu> <1992Oct1.175214.24003@ornl.gov> <HARDY.92Oct1223541@golem.ps.uci.edu>
Date: Fri, 2 Oct 1992 08:03:55 GMT
Lines: 32