|
From: | Bauke Jan Douma |
Subject: | Re: Whats wrong with 'sets in grep' |
Date: | Wed, 20 Dec 2006 01:17:32 +0100 |
User-agent: | Thunderbird 1.5.0.8 (X11/20061025) |
SPS Khokhar wrote on 19-12-06 08:37:
hi! Kindly someone explain to me, what is wrong with 'sets in grep' following are two commands logically seems same but results are like north-south pole, not same. what i want is - All files/dir having names in uppercases only ------------------------------------------------ [simrat > simrat]$ ls | grep ^[A-Z]*$ crbt Desktop evolution ice just Linux misc MYSHARE scripting send test zBochs [simrat > simrat]$ ls | grep ^[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*$ MYSHARE
Nothing wrong probably. Collation. See for instance http://icu.sourceforge.net/docs/papers/iuc26_regexp.pdf bjd
[Prev in Thread] | Current Thread | [Next in Thread] |