22 Mayıs 2013 Çarşamba

Awk - linux swap colunms

awk 'BEGIN {FS=OFS=":"} {temp=$1; $1=$2; $2=temp} {print}' input.txt

Hiç yorum yok: