Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- install -d doc/Net/Telnet
- for a in `find . \( -name doc -prune \) -o -name \*.pm6`; do
- echo $a
- perl6 -Ilib --doc=Markdown $a > doc/`echo $a | perl6 -e '$_=lines[0]; say .split("/")[2..*].join("/")'`
- done
- for a in `find doc -name \*.pm6`; do
- mv $a `dirname $a`/`basename $a .pm6`.md
- done
- find doc -size -50c -type f -exec rm {} \;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement