mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-24 14:32:29 +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
|