LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   grep Bracket Expressions (http://www.linuxquestions.org/questions/linux-newbie-8/grep-bracket-expressions-801262/)

Star_Gazer 04-10-2010 05:12 PM

grep Bracket Expressions
 
Hi,

In the info document for 'grep', in the section:
3.2 Character Classes and Bracket Expressions
I am curious on what the following bracket expressions are used for - I played with them to try and find out on my own, but was not successful:

Code:

`[.'
      represents the open collating symbol.


 `.]'
      represents the close collating symbol.


 `[='
      represents the open equivalence class.


 `=]'
      represents the close equivalence class.

I am well acquainted with the other bracket expressions, respectfully.

Clifton

pixellany 04-10-2010 05:55 PM

This appears to define those terms (but I don't understand it....;))

http://www.opengroup.org/onlinepubs/...99/xbd/re.html

Star_Gazer 04-10-2010 09:30 PM

Quote:

Originally Posted by pixellany (Post 3931261)
This appears to define those terms (but I don't understand it....;))

http://www.opengroup.org/onlinepubs/...99/xbd/re.html

Thanks ... I've been reviewing the web page a little bit - look like a school day's work. :p


All times are GMT -5. The time now is 09:47 PM.