📜  awk 列十进制到整数 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:37.090000             🧑  作者: Mango

代码示例1
# parenthesize float variable w/ int()
awk -F ' ' '{print $1" "$2" "int($3)}' data.lst
# NOTE: trims off decimal values, does not round