I have a string that I pass as a parameter, for example:
"2,3,4,5"
To get every item of it I do:
#!/bin/bash
for ((i=1; i<=4; i++))
do
echo "$1" | cut -d "," -f $i
done
But I would like to make the loop iterate up to the m...
asked by
14.09.2018 / 20:00