![]() |
|
|
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 |
| need top 3 numbers | shary | Shell Programming and Scripting | 4 | 03-25-2008 01:58 AM |
| ksh and hex numbers | JamesByars | Shell Programming and Scripting | 2 | 01-15-2008 03:36 PM |
| grep or awk problem, unable to extract numbers | baghera | Shell Programming and Scripting | 7 | 08-31-2007 05:42 PM |
| grep numbers range | azmathshaikh | Shell Programming and Scripting | 1 | 08-08-2005 08:45 AM |
| Add some numbers! | TalkShowHost | Shell Programming and Scripting | 3 | 05-15-2002 01:28 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
grep for non numbers
Hi,
I want to find out whether a string contains non numbers and + and - example : Str="0005000A" - It contains A Str="0005000+" - No problem What I have done is , echo $Str | grep [a-z,A-Z] I will have to list out all non numeric characters here.. Is there any easy way of doing it... Shihab |
![]() |
| Bookmarks |
| Tags |
| grep or |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|