summaryrefslogtreecommitdiffhomepage
path: root/src/blog/grab/example-2.sh
blob: 883c580bc780186856050d3a446b6da0648c0714 (plain) (blame)
1
2
3
4
$ grab 'x/[^\n].+?(?=\n\n|$)/ g/(\b\w+\b)\s+\1/ h/(\b\w+\b)\s+\1/' foo
This is also a paragraph
but it contains <doubled>
<doubled> words.