|
From: | SPS Khokhar |
Subject: | Re: Whats wrong with 'sets in grep' (Thanks) |
Date: | Fri, 22 Dec 2006 10:33:50 +0530 |
Thanks for your kind help and useful information.. thanks once again. On 12/20/06, Ralf Wildenhues <address@hidden> wrote:
* SPS Khokhar wrote on Wed, Dec 20, 2006 at 05:10:17AM CET: > > it works, i got what i want, but how it works, > actually i tried the same command > ls | grep ^[A-Z]*$ > on different version of RHEL, it works there. > > so what is wrong with my system (in bash shell), and whats the behind > LC_ALL=C Nothing is wrong. It's called localization. Read http://en.wikipedia.org/wiki/Locale http://www.die.net/doc/linux/man/man7/locale.7.html to learn about it. Hope that helps. Cheers, Ralf
-- Simrat "Darkness of this UNIVERSE has many secrets." <Hacking is an art, craking is offence.>
[Prev in Thread] | Current Thread | [Next in Thread] |