Instantly share code, notes, and snippets.
Print columns 1 and 3
echo "x:y:z#a:b:c" | awk 'BEGIN {RS="#";FS=":"} {print $1,$3}' x z a c