line=$(head -n 1 nowcoder.txt | wc -w) # 获取列数
# awk打印每行,xargs 转置
for (( i = 1; i <= $line; ++i)); do
awk -v j=$i '{print $j}' nowcoder.txt | xargs
done
line=$(head -n 1 nowcoder.txt | wc -w) # 获取列数
# awk打印每行,xargs 转置
for (( i = 1; i <= $line; ++i)); do
awk -v j=$i '{print $j}' nowcoder.txt | xargs
done