aboutsummaryrefslogblamecommitdiff
path: root/bin/murl
blob: 95db92c998f7283711e338eb44d69c0af13fadf6 (plain) (tree)
1
2
3
4
5
6
         
                                                              
 
                                                         
                                                  
    
#!/bin/sh
# 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