[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: locate(1) man page hard to understand, please rewrite
From: |
Wayne Throop |
Subject: |
Re: locate(1) man page hard to understand, please rewrite |
Date: |
Mon, 08 Jul 2002 19:57:34 GMT |
:: Dan Jacobson <address@hidden>
:: $ locate /tmp$ #no good
:: $ locate /tmp|grep /tmp$ #best I can do I suppose
:: Anyway, I think the man page is trying to say that it doesn't have any
:: wildcard matching ability at all?
What's wrong with, eg
sh-2.04$ locate -r '/tmp$'
/home/throopw/tmp
/home/throopw/.gimp/tmp
/home/throopw/.kde/share/apps/kfmexec/tmp
/home/throopw/.ee/minis/tmp
[.. etc, etc ..]
The man page says
-r <regexp>
--regexp=<regexp> Search the database using a basic
POSIX regular expression.
and
-i Does a case insensitive search.
which didn't seem to me to be prohibitively hard to understand.
Wayne Throop address@hidden http://sheol.org/throopw