[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: xmms questions
On Mon, Jun 18, 2001, Cedar Cox wrote about "Re: xmms questions":
> ~$ find / 2>/dev/null |grep -i 'locales*/\(he\|iw\)'
> /usr/local/share/locale/he
>..
Just a completely off-topic comment: you're much better off using locate(1),
not find(1), for something like this, as in
locate locale | egrep "he|iw"
or even
locate -r 'locales*/\(he\|iw\)'
Measuring on my system, the find line took minutes (I stopped it after 2
minutes, when I got bored - it still had a long way to go...), while the
first locate line took 9 seconds (and only 0.5 seconds the second time I
ran it, because the entire locate file was already in the cache).
--
Nadav Har'El | Monday, Jun 18 2001, 27 Sivan 5761
nyh@math.technion.ac.il |-----------------------------------------
Phone: +972-53-245868, ICQ 13349191 |Cigarette: tobacco wrapped in paper,
http://nadav.harel.org.il |fire at one end, and a fool at the other.
=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il