forked from hans/Nominatim
Basically leaves the part that needs to be done by the automatic vagrant script in the bash script and moves the remaining part into an OS-independent md file. Also fixes some of the instructions for CentOS. Now almost runs through (some minor issue with permission remains).
8 lines
165 B
Bash
Executable File
8 lines
165 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# Extract markdown-formatted documentation from a source file
|
|
#
|
|
# Usage: bash2md.sh <infile> <outfile>
|
|
|
|
sed '/^#!/d;s:^#\( \|$\)::;s/.*#DOCS://' $1 > $2
|