Traduisez - Übersetzen - Traduzca - Traduza - Tradurre - Translate

VanLUG Email Archive

VanLUG Mailing List
Re: .mc file

New Message Reply About this list Date view Thread view Subject view Author view

Ted Powell (ted@eslvcr.fireplug.net)
Tue, 16 Feb 1999 19:39:03 -0800


On Tue, Feb 16, 1999 at 07:15:58PM -0800, Kevin Chu wrote:
> Ted Powell wrote:
> [...]
> > locate .mc
> [...]
>
> I was going to use that reply, but I thought there'd be a better reply
> from a sendmail guru. :)
>
> Actually what I tried was
>
> locate mc | grep 'mc$'

Huh? That gives more extraneous answers than ``locate .mc'' does,
including these:
    /usr/share/terminfo/w/wy30-mc
    /usr/share/terminfo/w/wy50-mc
    /usr/share/terminfo/w/wy75-mc
    /usr/share/terminfo/w/wyse30-mc
    /usr/share/terminfo/w/wyse50-mc
    /usr/share/terminfo/w/wyse75-mc
    /usr/share/terminfo/x/xtermc

locate '*.mc'

gives no extraneous answers (unless your users run Midnight Commander,
which creates a .mc directory).

I suggested
    locate .mc
because it's fewer keystrokes, has less chance of a typo, involves fewer
concepts, and only gives a few extraneous hits.

BTW, locate \*.mc also works.

-- 
ted@psg.com  http://psg.com/~ted/  (Ted Powell)
If your hard drive crashes, perhaps you have a recent backup. If Earth
crashes, what then? We need off-site backup: Luna, L5, Mars, wherever.


New Message Reply About this list Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b3 on Tue 16 Feb 1999 - 19:39:56 PST