[Techtalk] real life kewl text-processing
Kathryn Hogg
kjh at flyballdogs.com
Sat Jan 10 16:22:00 EST 2004
Akkana Peck said:
> When I want to access all the dotfiles in the current directory,
> but not . or .., I use this pattern: .??*
> In English, that means: "Everything that begins with a dot, then
> has at least two additional characters after the dot."
>
> Of course, this won't match files like .a, which doesn't bother me.
> You could make a pattern which would also match such files, but
> it would be more difficult to type, whereas .??* is very easy.
the pattern .[^.]* will make every file that stops with a dot but has a
non-dot for a second character
--
Kathryn
http://womensfootyusa.com
More information about the Techtalk
mailing list