Awk se separou na vírgula
$ echo "12|23|11" | awk '{split($0,a,"|"); print a[3]; print a[2]; print a[1]}'
Wide-eyed Wren
$ echo "12|23|11" | awk '{split($0,a,"|"); print a[3]; print a[2]; print a[1]}'
$ echo "12:23:11" | awk '{split($0,a,":"); print a[3]; print a[2]; print a[1]}'