mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-30 12:22:10 +03:00
8 lines
165 B
Bash
8 lines
165 B
Bash
|
#!/bin/sh
|
||
|
#
|
||
|
# Extract markdown-formatted documentation from a source file
|
||
|
#
|
||
|
# Usage: bash2md.sh <infile> <outfile>
|
||
|
|
||
|
sed '/^#!/d;s:^#\( \|$\)::;s/.*#DOCS://' $1 > $2
|