![]() |
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 |
| Korn: How to loop through a string character by character | shew01 | Shell Programming and Scripting | 10 | 12-02-2008 07:58 AM |
| read a variable character by character, substitute characters with something else | vipervenom25 | UNIX for Dummies Questions & Answers | 2 | 06-06-2008 03:18 PM |
| Search in variable for character | rorey_breaker | Shell Programming and Scripting | 1 | 09-27-2007 07:05 AM |
| Perl code to differentiate numeric and non-numeric input | Raynon | Shell Programming and Scripting | 11 | 08-04-2007 10:32 AM |
| Search for a non zero character in file | misenkiser | Shell Programming and Scripting | 4 | 10-09-2006 02:01 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Bourne: search for a non-numeric character in $VAR
if $1 = "123x456", how can I test for the non-numeric character 'x' in that string. I've tried expr with "[^0-9]" but it did not find the x. Any ideas? Can this perhaps be done with sed?
Thanks. |
|
||||
|
I had a feeling it might require case. Thank you so much.
|
| Sponsored Links | ||
|
|