![]() |
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 |
| awk, sed, grep...weird style | finalight | Shell Programming and Scripting | 13 | 05-20-2008 02:30 AM |
| Weird rsync behavior | scotbuff | OS X (Apple) | 2 | 12-24-2007 06:05 PM |
| Weird behavior on a Sun Fire V120 running solaris 10. | jsandova | SUN Solaris | 2 | 10-05-2007 06:17 PM |
| sed behavior on hp-ux | andy2000 | Shell Programming and Scripting | 8 | 05-04-2007 09:23 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
weird behavior of grep -P
I met a problem in using grep -P.
There is a text file, temp.txt, whose content is: dddd abc I ran the command: grep -P "\s*abc" temp.txt The result I expected is: abc But, the actual result is: dddd abc Could anyone tell me what is wrong? Thanks. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|