1
lululau 2019-10-18 13:11:43 +08:00
gawk -F'?' '{a[$1]++}END{for(k in a){print k": "a[k]}}'
|
4
pkookp8 2019-10-18 14:26:40 +08:00 via Android
awk -F"?" 'BEGIN{abc=0}{if(index{$0, "abc/def") != 0){abc++}}END{printf("%d times abc\n", abc)}'
|