![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Delete trailing white space | cillmor | Shell Programming and Scripting | 5 | 06-19-2009 09:51 AM |
| Add white space to the end of a line with sed | karlanderson | Shell Programming and Scripting | 7 | 03-09-2009 06:20 AM |
| SED with White Space | sandeep_1105 | UNIX for Dummies Questions & Answers | 1 | 03-02-2009 04:48 PM |
| stripping white space... | Zak | Shell Programming and Scripting | 7 | 10-09-2007 07:41 AM |
| Sh scripting problem, matching specific white space | Dickalicious | Shell Programming and Scripting | 7 | 05-24-2006 01:30 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Matching white space through Grep
Hello All,
I am trying to match white space in patterns through - Grep I tried [[:space:]] & [[:blank:]] but none of them worked. Then I tried Perl extension '\s' and it worked. So just wanted to know if [[:space:]] & [[:blank:]] are still supported or have they become deprecated. However they have been mentioned in the man page so I guess I am not using it correctly. Any pointers on how to use them? |
|
||||
|
Ok got it fixed....
# cat /tmp/test.ldif Quote:
As you can see there is space between 'dn:' and 'ou=' in all the lines Initially I was placing '\*' after [[:space:]] as shown below: Quote:
Quote:
Quote:
|
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|