Skip to content

Commit

Permalink
Fixes tj#16, credits: tonegenerated
Browse files Browse the repository at this point in the history
  • Loading branch information
flexd committed Dec 10, 2012
1 parent 5f80ff3 commit 3c3ef7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/mad
Original file line number Diff line number Diff line change
Expand Up @@ -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|;'
Expand Down

0 comments on commit 3c3ef7c

Please sign in to comment.