Permalink
Browse files

Fixes #16, credits: tonegenerated

  • Loading branch information...
1 parent 5f80ff3 commit e988f84e4ebedabd3af5b10edd276e939e65482d @flexd flexd committed with Dec 10, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 bin/mad
View
@@ -20,8 +20,8 @@ list_pages() {
for path in $paths; do
test ! -z $path \
&& test -d $path \
- && find $path -type f -print0 \
- | xargs -0 basename -a \
+ && find $path -type f \
+ | xargs -n1 basename \
| grep -iv 'readme*' \
| grep '.md$' \
| perl -pe 's|^(.*)\.md$| \1|;'

0 comments on commit e988f84

Please sign in to comment.