Shell script to reverse rows and columns of a matrix?

1 answer

Answer

1223542

2026-08-04 04:30

+ Follow

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

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.