Skip to main content
Remove trailing ;
Source Link
FloHimself
  • 11.8k
  • 3
  • 24
  • 24

This might work:

in_file=./data
vector=($(./readdata.sh 0 $in_file))
for index in ${!vector[@]}
do
    echo ${vector[index]//\"/};
done

Ref: http://www.tldp.org/LDP/abs/html/refcards.html#AEN22828

This might work:

in_file=./data
vector=($(./readdata.sh 0 $in_file))
for index in ${!vector[@]}
do
    echo ${vector[index]//\"/};
done

Ref: http://www.tldp.org/LDP/abs/html/refcards.html#AEN22828

This might work:

in_file=./data
vector=($(./readdata.sh 0 $in_file))
for index in ${!vector[@]}
do
    echo ${vector[index]//\"/}
done

Ref: http://www.tldp.org/LDP/abs/html/refcards.html#AEN22828

Source Link
FloHimself
  • 11.8k
  • 3
  • 24
  • 24

This might work:

in_file=./data
vector=($(./readdata.sh 0 $in_file))
for index in ${!vector[@]}
do
    echo ${vector[index]//\"/};
done

Ref: http://www.tldp.org/LDP/abs/html/refcards.html#AEN22828