[lug] grep question
Chip Atkinson
chip at pupman.com
Mon Jun 11 07:17:52 MDT 2007
Woohoo! That's exactly it. Thanks so much!
Is it possbile to give a brief synopsis rather than the long one?
Thanks in advance.
Chip
On Sun, 10 Jun 2007, Jeffrey Haemer wrote:
> export LANG=C
>
> will cure this problem.
>
> (If you want a long explanation, let me know and I'll write one tomorrow.
> Right now, I'm, uh, otherwise occupied.)
>
> On 6/10/07, Chip Atkinson <chip at pupman.com> wrote:
> >
> > Greetings,
> >
> > I'm trying to figure this one out:
> >
> > $ echo abcdefg | /usr/bin/grep "[A-Z]"
> > abcdefg
> >
> > $ echo abcdefg | /usr/bin/grep -E "[A-Z]"
> > abcdefg
> >
> >
> > I always thought "[A-Z]" represented the characters A through Z, and not
> > the characters a through z.
> >
> > Any ideas?
> >
> > Thanks in advance.
> >
> > Chip
> >
> >
> > _______________________________________________
> > Web Page: http://lug.boulder.co.us
> > Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> > Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
> >
>
>
>
> --
> Jeffrey Haemer <jeffrey.haemer at gmail.com>
> 720-837-8908 [cell]
> http://goyishekop.blogspot.com
>
More information about the LUG
mailing list