Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Use '-a' (short and more compatible form of '--multiple') option for …

…basename.
  • Loading branch information...
commit 3e5077983e3cdfa09e741978f8c4fb7150c65011 1 parent 8f8b98d
Vladimir Chizhov mirlord authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  bin/mad
2  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|;'
Please sign in to comment.
Something went wrong with that request. Please try again.