#!/bin/sh tmp=$(awk -F"

|

" '{for(i=2;i<=NF;i+=2){print $i}}' RS="" $1) echo $tmp