mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-12-12 20:16:14 +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
|