On Sat, 2011-05-28 at 20:03 -0700, suvayu ali wrote:
> On Sat, May 28, 2011 at 3:45 PM, Patrick O'Callaghan
> <pocallag...@gmail.com> wrote:
> > On Sat, 2011-05-28 at 12:18 -0700, suvayu ali wrote:
> >> Hi Michael,
> >>
> >> On Sat, May 28, 2011 at 6:23 AM, Michael Schwendt <mschwe...@gmail.com> 
> >> wrote:
> >> > because the .* also
> >> > includes .., the parent directory, which in this case is /home
> >>
> >> A quick question, how can one use globs to expand only dotfiles
> >> without including ".."?
> >
> >
> > $ ls \.[^.]*
> >
> 
> Thanks a lot Patrick, I had no idea ls accepted regular expressions!

It doesn't. You need to read up on how the Shell works.

poc

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to