ls|egrep -o "[^.]+.rpm$" |sort |uniq -c
ls |sed -rn "s/(.)(.rpm$)/1/p"|sed -r "s/..<([^.].+)$/1/"|sort|uniq -c
ls |sed -rn "s/(.)(.rpm$)/1/p"|sed -rn "s/..<([^.].+)$/1/p"|sort|uniq -c
ls |sed -r "s/(.)(.rpm$)/1/"|sed -r "s/..<([^.].+)$/1/"|sort|uniq -c
会出现---TBL(因为没有加n选项)