The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
using array
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
using array
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
5
(
permalink
)
02-07-2007
tayyabq8
Moderator
Join Date: Nov 2004
Location: Bahrain
Posts: 579
Quote:
Originally Posted by
radoulov
$ a=($(cut -d" " -f3 file))
$ i=0;until((i>=(${#a}-1)));do echo ${a[i]};((i+=1));done
This will work with ksh93 also.
tayyabq8
View Public Profile
Find all posts by tayyabq8
Find tayyabq8's past nominations received
Find tayyabq8's present nominations given