The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Make a list in bash out of arguments
.
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
:
Make a list in bash out of arguments
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
07-02-2009
mglenney
Registered User
Join Date: Jun 2009
Posts: 85
Code:
list=
shift
for i in $* ; do list=$list" ./myfile."$i done echo "$list"
mglenney
View Public Profile
Find all posts by mglenney
Find mglenney's past nominations received
Find mglenney's present nominations given