This website requires JavaScript.
Explore
Help
Register
Sign in
aparler
/
RosettaCodeData
Watch
1
Star
0
Fork
You've already forked RosettaCodeData
0
Code
Issues
12
Pull requests
3
Projects
Releases
Packages
Wiki
Activity
Actions
master
RosettaCodeData
/
Task
/
Loop-over-multiple-arrays-simultaneously
/
UNIX-Shell
/
loop-over-multiple-arrays-simultaneously-5.sh
7 lines
96 B
Bash
Raw
Permalink
Normal View
History
Unescape
Escape
Another update from ingydotnet^djgoku
2015-11-18 06:14:39 +00:00
a
=
(
a b c
)
b
=
(
A B C
)
c
=
(
1
2
3
)
for
(
(
i
=
1
;
i <
=
$#
a
;
i++
)
)
;
do
echo
"
$a
[
$i
]
$b
[
$i
]
$c
[
$i
]
"
done
Reference in a new issue
Copy permalink