The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
perl-like split function for bash?
.
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
:
perl-like split function for bash?
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
5
(
permalink
)
09-05-2008
ghostdog74
Registered User
Join Date: Sep 2006
Posts: 2,557
Code:
# IFS="." # s=21.14.51 # set -- $s # arr=( $s ) # echo ${arr[0]} ${arr[1]} ${arr[2]} 21 14 51
ghostdog74
View Public Profile
Find all posts by ghostdog74
Find ghostdog74's past nominations received
Find ghostdog74's present nominations given