Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Request small comment change to edit vdr code withemacs



Klaus Schmidinger <Klaus.Schmidinger@cadsoft.de> writes:

> I want to be able to do things like
>
>    ls -ltr *.[hc]
>
> so an extension with more than one character is ruled out.
> Plus, I don't want to have to press the shift key, so uppercase
> characters are ruled out, too.

:-) How about doing something like:

    ls -ltr *[hc]

Which work with .c .cc .h .hh with one less keystroke ;-)

Another shorter variant for .cpp and .hpp is:

    ls -ltr *pp

or 

    ls -ltr *xx 

for .cxx and .hxx

Anyway, it's still your call ...

Cheers




Home | Main Index | Thread Index