Permalink
Browse files

Merge pull request #11 from mirlord/basename

Use '-a' (short and more compatible form of '--multiple') option for basename
  • Loading branch information...
2 parents 8f8b98d + 3e50779 commit 2eaed84f3f2816f5f7f5b233e9de83eccefdaefa @tj committed May 20, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/mad
View
@@ -21,7 +21,7 @@ list_pages() {
test ! -z $path \
&& test -d $path \
&& find $path -type f -print0 \
- | xargs -0 basename \
+ | xargs -0 basename -a \
| grep -iv 'readme*' \
| grep '.md$' \
| perl -pe 's|^(.*)\.md$| \1|;'

0 comments on commit 2eaed84

Please sign in to comment.