📄 gettopfamily.sh
字号:
#!/bin/bash# gettopfamily.sh[ $# -lt 1 ] && echo "please input the file who store the income data" && exit -1[ ! -f $1 ] && echo "$1 is not a file" && exit -1income=$1awk '{ printf("%d %0.2f\n", $1, $3/$2);}' $income | sort -k 2 -n -r
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -