Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google site



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 09-27-2007
Registered User
 

Join Date: Aug 2007
Posts: 20
Search in variable for character

qwertyuioplkjhgfdsa

Last edited by rorey_breaker; 10-23-2007 at 04:36 PM..
Sponsored Links
  #2 (permalink)  
Old 09-27-2007
blowtorch's Avatar
AFK
 

Join Date: Dec 2004
Location: Singapore
Posts: 2,351
Erm, you are doing a decent job of matching in this post. But if you are going to be using arrays, then you don't need to check for the character in the string do you?

Just check for each character in the array.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
read a variable character by character, substitute characters with something else vipervenom25 UNIX for Dummies Questions & Answers 2 06-06-2008 04:18 PM
Removing character ' from a variable sertansenturk Shell Programming and Scripting 3 04-19-2008 09:53 AM
Sed a variable which has - character in it potro Shell Programming and Scripting 6 03-14-2008 05:24 AM
Bourne: search for a non-numeric character in $VAR lumix Shell Programming and Scripting 2 12-14-2007 02:13 PM
Search for a non zero character in file misenkiser Shell Programming and Scripting 4 10-09-2006 03:01 PM



All times are GMT -4. The time now is 01:59 PM.


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-2010. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0