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

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



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
Remove an element from an array in PERL chriss_58 Shell Programming and Scripting 3 06-06-2008 06:08 AM
compare array contents with file orahi001 UNIX for Dummies Questions & Answers 0 03-25-2008 05:44 PM
array type has incomplete element type jaganadh High Level Programming 1 07-24-2007 04:54 AM
Perl delete an element from array ahtat99 Shell Programming and Scripting 6 01-18-2007 09:25 AM
accessing my first element of array afadaghi Shell Programming and Scripting 4 09-29-2005 05:43 PM

Closed Thread
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 Rate Thread Display Modes
  #1 (permalink)  
Old 09-28-2007
rorey_breaker rorey_breaker is offline
Registered User
  
 

Join Date: Aug 2007
Posts: 20
A final question! Compare character with each array element

qwrtyuiop666yhh

Last edited by rorey_breaker; 10-23-2007 at 04:35 PM..
  #2 (permalink)  
Old 09-28-2007
pondlife pondlife is offline
Registered User
  
 

Join Date: May 2004
Location: UK
Posts: 85
Are you allowed to use awk in this bash script?

awk has a very handy split function which puts each element of a string into an array:

split(string, m, " : ")

m is the name of the array.

Sounds like you'd like to figure out the rest so I'll just give this as a little clue
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 On




All times are GMT -4. The time now is 11:31 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-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0