The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Emergency UNIX and Linux Support !! Help Me!!
.
google unix.com



Emergency UNIX and Linux Support !! Help Me!! Post your urgent questions here for highest visibility. Posting a new thread to this forum requires Bits. We monitor this forum to help people with emergencies, but we do not guarantee response time or answers. This forum is "best effort" only. Members who reply to posts here receive a bonus of 1000 Bits per reply.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Regular Expression Help sickboy Shell Programming and Scripting 8 04-04-2009 06:58 PM
regular expression [^ ] iengca Shell Programming and Scripting 9 06-18-2008 10:45 AM
Regular expression maxvirrozeito UNIX for Dummies Questions & Answers 1 12-14-2007 08:02 AM
regular expression..help!! andy2000 UNIX for Dummies Questions & Answers 1 07-25-2007 04:31 PM
Regular Expression + Aritmetical Expression Z0mby Shell Programming and Scripting 2 05-21-2002 11:59 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 09-23-2009
raghav288 raghav288 is offline
Registered User
  
 

Join Date: Feb 2008
Posts: 21
regular expression on AIX

Hi

Im running this commad on AIX in ksh

samp1 file contains
1
2
123
1234

When i execute the following simple reg exp i dont get the matched pattern
sed -n '/[0-9]+/p' samp1
or
sed -n '/[0-9]\+/p' samp1
or
grep '[0-9]+' samp1

i have the same prob with '?' also

help me guys..
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:12 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0