mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-02 18:50:13 +00:00
More Fixing of Formattting Version Block to README.md
This commit is contained in:
parent
7a331898e3
commit
2b8002c6f2
2 changed files with 9 additions and 9 deletions
|
@ -8,9 +8,9 @@
|
|||
# Nginx Bad Bot and User-Agent Blocker, Spam Referrer Blocker, Anti DDOS, Bad IP Blocker and Wordpress Theme Detector Blocker
|
||||
##### The Ultimate Nginx Bad Bot, User-Agent, Spam Referrer Blocker, Adware, Malware and Ransomware Blocker, Clickjacking Blocker, Click Re-Directing Blocker, SEO Companies and Bad IP Blocker with Anti DDOS System, Nginx Rate Limiting and Wordpress Theme Detector Blocking
|
||||
|
||||
#####--Version Information--#####
|
||||
##### Version Information #
|
||||
|
||||
#####--Version Information End--#####
|
||||
##### Version Information ##
|
||||
|
||||
If this helps you [why not buy me a beer](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=BKF9XT6WHATLG):beer:
|
||||
|
||||
|
|
|
@ -14,8 +14,8 @@ _inputdbA=/tmp/lastupdated.db
|
|||
_tmpnginxA=tmpnginxA
|
||||
|
||||
# Start and End Strings to Search for to do inserts into template
|
||||
_startmarker="#####--Version Information--#####"
|
||||
_endmarker="#####--Version Information End--#####"
|
||||
_startmarker="##### Version Information #"
|
||||
_endmarker="##### Version Information ##"
|
||||
|
||||
# PRINT VERSION INFORMATION INTO README.md
|
||||
# ****************************************
|
||||
|
@ -25,18 +25,18 @@ now="$(date)"
|
|||
end=$(date +%s.%N)
|
||||
echo $_startmarker >> $_tmpnginxA
|
||||
runtime=$(python -c "print(${end} - ${start})")
|
||||
printf "> VERSION: "$MY_GIT_TAG"" >> $_tmpnginxA
|
||||
printf "# VERSION: "$MY_GIT_TAG"" >> $_tmpnginxA
|
||||
echo $_endmarker >> $_tmpnginxA
|
||||
IFS=$LASTUPDATEIFS
|
||||
mv $_tmpnginxA $_inputdbA
|
||||
ed -s $_inputdbA<<\IN
|
||||
1,/#####--Version Information--#####/d
|
||||
/#####--Version Information End--#####/,$d
|
||||
1,/##### Version Information #/d
|
||||
/##### Version Information ##/,$d
|
||||
,d
|
||||
.r /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/README.md
|
||||
/#####--Version Information--#####/x
|
||||
/##### Version Information #/x
|
||||
.t.
|
||||
.,/#####--Version Information End--#####/-d
|
||||
.,/##### Version Information ##/-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
Reference in a new issue