mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-12-18 10:32:08 +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
|