The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
For Loop with Strings as parameters
.
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
:
For Loop with Strings as parameters
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
5
(
permalink
)
06-23-2006
Doc_RuNNeR
Registered User
Join Date: Jun 2006
Posts: 17
#! /bin/ksh
spaces=IFS
IFS="
"
for i in "hello world"
do
echo $i
done
IFS=$spaces
-----------------
Try that script
Doc_RuNNeR
View Public Profile
Find all posts by Doc_RuNNeR
Find Doc_RuNNeR's past nominations received
Find Doc_RuNNeR's present nominations given