I am trying to run this small script but I got some errors
#!/bin/sh
set event_list = "17 20 21"
for event in `($event_list)`
echo Evento $event - Tarro
end
Thank you so much!!!
I am trying to run this small script but I got some errors
#!/bin/sh
set event_list = "17 20 21"
for event in `($event_list)`
echo Evento $event - Tarro
end
Thank you so much!!!
if you use for loop then you need to stick to its syntax:
#!/bin/sh
export event_list="17 20 21"
for event in $event_list
do
echo Evento $event - Tarro
done