mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-10 15:34:24 +00:00
Fix Formatting of Version Information in README.md
This commit is contained in:
parent
8d63a9d056
commit
f4fc3104aa
2 changed files with 8 additions and 8 deletions
|
@ -14,8 +14,8 @@ _inputdbA=/tmp/lastupdated.db
|
|||
_tmpnginxA=tmpnginxA
|
||||
|
||||
# Start and End Strings to Search for to do inserts into template
|
||||
_startmarker="####################"
|
||||
_endmarker="#####################"
|
||||
_startmarker="#####--Version Information--#####"
|
||||
_endmarker="#####--Version Information End--#####"
|
||||
|
||||
# PRINT VERSION INFORMATION INTO README.md
|
||||
# ****************************************
|
||||
|
@ -30,13 +30,13 @@ echo $_endmarker >> $_tmpnginxA
|
|||
IFS=$LASTUPDATEIFS
|
||||
mv $_tmpnginxA $_inputdbA
|
||||
ed -s $_inputdbA<<\IN
|
||||
1,/####################/d
|
||||
/#####################/,$d
|
||||
1,/#####--Version Information--#####/d
|
||||
/#####--Version Information End--#####/,$d
|
||||
,d
|
||||
.r /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/README.md
|
||||
/####################/x
|
||||
/#####--Version Information--#####/x
|
||||
.t.
|
||||
.,/#####################/-d
|
||||
.,/#####--Version Information End--#####/-d
|
||||
#,p
|
||||
#,p used to print output replaced with w below to write
|
||||
w /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/README.md
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue