#!/bin/bash awk -F ':' '{for(i=0;i<NF;i++){ if(i!=0){printf ":"} printf( "%s", $(NF-i)); } print "" }' "./nowcoder.txt"