diff options
Diffstat (limited to 'src/blog/grab/example-3.sh')
-rw-r--r-- | src/blog/grab/example-3.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/blog/grab/example-3.sh b/src/blog/grab/example-3.sh new file mode 100644 index 0000000..cfebed3 --- /dev/null +++ b/src/blog/grab/example-3.sh @@ -0,0 +1,4 @@ +$ grab 'x/[^\n].+?(?=\n\n|$)/ g/(\b\w+\b)\s+\1/ h//' foo +This is also a paragraph +but it contains <doubled> +<doubled> words. |