aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-06-18 13:49:03 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-06-18 13:49:03 +1200
commit7cdf0627a277f693e66e51ffd8fd15bd2a34cbfc (patch)
treee0c04e841ca3db639f759bfad341970bdfdbef60 /bin
parentAdd htmlurls, mdurls, urlcheck (diff)
downloaddotfiles-7cdf0627a277f693e66e51ffd8fd15bd2a34cbfc.tar.gz
dotfiles-7cdf0627a277f693e66e51ffd8fd15bd2a34cbfc.zip
Default mdurls to stdin
Diffstat (limited to 'bin')
-rwxr-xr-xbin/mdurls2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mdurls b/bin/mdurls
index e135101f..f4cd281a 100755
--- a/bin/mdurls
+++ b/bin/mdurls
@@ -1,4 +1,4 @@
#!/usr/bin/env bash
hash markdown htmlurls || exit
-markdown "$@" |
+markdown "${@:-/dev/stdin}" |
htmlurls