github.com/guilhermebr/docker@v1.4.2-0.20150428121140-67da055cebca/docs/sources/articles/https/parsedocs.sh (about) 1 #!/bin/sh 2 3 echo "#!/bin/sh" 4 cat ../https.md | awk '{if (sub(/\\$/,"")) printf "%s", $0; else print $0}' \ 5 | grep ' $ ' \ 6 | sed 's/ $ //g' \ 7 | sed 's/2375/7777/g' \ 8 | sed 's/2376/7778/g' \ 9 | sed 's/^docker/# docker/g' \ 10 | sed 's/^curl/# curl/g'