github.com/slene/docker@v1.8.0-rc1/docs/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'