标题: 重复字符串 [打印本页] 作者: 1cpuer 时间: 2017-11-22 16:17 标题: 重复字符串 this is tecmint, where you get the best good tutorials, how to's, guides, tecmint.
this are is good.
good the apple ''.
重复字符串
this :2
tecmint :2
good : 3
......
作者: nomethod 时间: 2017-11-22 16:25
awk -vRS='[^A-z]' 'NF{a[$0]++}END{for(i in a)print i":",a[i]}' a