Created
August 9, 2016 09:46
-
-
Save feuyeux/93fe1e4b808192c9799a29fbbe41ffcd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function a() { | |
for file in "$1"/* | |
do | |
if [ ! -d "${file}" ] ; then | |
asciidoctor "${file}" | |
else | |
traverse "${file}" | |
fi | |
done | |
} | |
traverse "$@" | |
# ./asciidoctor+.sh /Users/erichan/mycode/elasticsearch/docs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment