mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-27 10:43:02 +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
|