]> git.openstreetmap.org Git - nominatim.git/blob - docs/bash2md.sh
Merge pull request #3338 from lonvia/remove-nested-cli-groups
[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