awk '{if ($6<$7) print $0 "$1 try better at the next temp"}' grade.txt
改为:
awk '{if ($6<$7) print $1 " try better at the next temp"}' grade.txt
得到你想要的结果
而不是其他多余信息
awk '{if ($6<$7) print $0 "$1 try better at the next temp"}' grade.txt
改为:
awk '{if ($6<$7) print $1 " try better at the next temp"}' grade.txt
得到你想要的结果
而不是其他多余信息