awkなんか使わずにシェルスクリプト使えばいいよ

while IFS= read -r line1; do
IFS= read -r line2
IFS= read -r line3
echo "$line1 $line2 $line3"
done