dave_140390@hotmail.com wrote:
> Now, if I grep this file for [a-z], I get:
> $ grep [a-z] test
> small line
> LARGE LINE
Try this:
$ grep '[[:lower:]]' test
and this:
$ LC_ALL=C grep '[a-z]' test
--
All the commands are tested with bash and GNU tools, so they may use
nonstandard features. I try to mention when something is nonstandard (if
I'm aware of that), but I may miss something. Corrections are welcome.