Is there a way to make this script not require a loop, by re-piping the splitted current line to the next command ?
somefunction | while IFS='_' read -a ENTRY
do
echo "${ENTRY[0]};${ENTRY[3]}"
done
It is possible to make a shorter version of it, example :
somefunction | IFS='_' read -a ENTRY | echo "${ENTRY[0]};${ENTRY[3]}"
Thanks