cat ./teszt.txt | while read LINE; do LINE=( $LINE ); LINE[$((${#LINE[@]}-3))]=; echo ${LINE[@]}; done