diff options
Diffstat (limited to 'bin/murl.sh')
-rw-r--r-- | bin/murl.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/murl.sh b/bin/murl.sh new file mode 100644 index 00000000..91304aa1 --- /dev/null +++ b/bin/murl.sh @@ -0,0 +1,5 @@ +# Format markdown and pass it to hurl to extract URLs from it. + +# Pipe the output of pandoc(1) on our args into hurl(1df) +pandoc -f markdown -t html -- "${@:-/dev/stdin}" | +hurl |