cat <p.values apple boy cow dog elephant VAL cat <p.keys a b c d e KEYS paste -d\ <(cat p.values | sort) <(cat p.keys | sort)