Add tags

Add tags to the following comment

gawk 一行野郎で。文章は標準入力、出力は標準出力です。

1
gawk -F'\\W' '{ for (i=1; i<= NF; i++) { if ($i != ""){h[$i, NR] = NR; }}} END { for (k in h){split(k,s,SUBSEP);print s[1], h[k];}}'

Add tags

The input will be splited to tags with space.

Index

Feed

Other

Link

Pathtraq

loading...