001_shell经典案例

一、

 

二、

-n, --numeric-sort
compare according to string numerical value

-k, --key=KEYDEF
sort via a key; KEYDEF gives location and type

-t, --field-separator=SEP
use SEP instead of non-blank to blank transition

-r, --reverse
reverse the result of comparisons

posted @ 2017-05-04 16:41  arun_yh  阅读(195)  评论(0编辑  收藏  举报