]> git.openstreetmap.org Git - nominatim.git/blob - docs/bash2md.sh
Merge pull request #1782 from Simon-Will/1781-make-tests-work-with-phpunit-8
[nominatim.git] / docs / bash2md.sh
1 #!/bin/sh
2 #
3 # Extract markdown-formatted documentation from a source file
4 #
5 # Usage: bash2md.sh <infile> <outfile>
6
7 sed '/^#!/d;s:^#\( \|$\)::;s/.*#DOCS://' $1 > $2