LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 04-10-2010, 04:12 PM   #1
Star_Gazer
Member
 
Registered: Aug 2009
Location: Virginia, United States
Distribution: openSUSE 11.2 KDE
Posts: 32

Rep: Reputation: 15
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
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 04-10-2010, 04:55 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
This appears to define those terms (but I don't understand it....)

http://www.opengroup.org/onlinepubs/...99/xbd/re.html
 
2 members found this post helpful.
Old 04-10-2010, 08:30 PM   #3
Star_Gazer
Member
 
Registered: Aug 2009
Location: Virginia, United States
Distribution: openSUSE 11.2 KDE
Posts: 32

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by pixellany View Post
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.
 
  


Reply

Tags
grep, regular expressions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
using grep with expressions ANDed logicalfuzz Linux - Newbie 20 11-16-2010 12:17 AM
Using grep and expressions LordJohn Linux - General 2 03-28-2010 04:45 PM
Grep Expressions? Ordinary12 Linux - General 3 10-13-2009 11:19 PM
PS1 bracket expressions? JimHughen Linux - Software 7 06-17-2009 01:45 PM
Regular expressions using grep linuxmandrake Programming 3 11-16-2005 04:29 PM


All times are GMT -5. The time now is 11:08 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration