mirror of
https://github.com/mitchellkrogza/nginx-ultimate-bad-bot-blocker.git
synced 2025-09-03 19:20:16 +00:00
Formatting of Version Information in README.md
This commit is contained in:
parent
1da1b17311
commit
3ca0821d88
2 changed files with 10 additions and 12 deletions
|
@ -8,11 +8,9 @@
|
||||||
# Nginx Bad Bot and User-Agent Blocker, Spam Referrer Blocker, Anti DDOS, Bad IP Blocker and Wordpress Theme Detector Blocker
|
# 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
|
##### 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: V3.2017.06.535
|
#####################
|
||||||
********************************************
|
|
||||||
##### 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:
|
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
|
_tmpnginxA=tmpnginxA
|
||||||
|
|
||||||
# Start and End Strings to Search for to do inserts into template
|
# Start and End Strings to Search for to do inserts into template
|
||||||
_startmarker="##### Version Information #"
|
_startmarker="####################"
|
||||||
_endmarker="##### Version Information ##"
|
_endmarker="#####################"
|
||||||
|
|
||||||
# PRINT VERSION INFORMATION INTO README.md
|
# PRINT VERSION INFORMATION INTO README.md
|
||||||
# ****************************************
|
# ****************************************
|
||||||
|
@ -25,18 +25,18 @@ now="$(date)"
|
||||||
end=$(date +%s.%N)
|
end=$(date +%s.%N)
|
||||||
echo $_startmarker >> $_tmpnginxA
|
echo $_startmarker >> $_tmpnginxA
|
||||||
runtime=$(python -c "print(${end} - ${start})")
|
runtime=$(python -c "print(${end} - ${start})")
|
||||||
printf "********************************************\n> Version: "$MY_GIT_TAG"\n********************************************\n" >> $_tmpnginxA
|
printf "> VERSION: "$MY_GIT_TAG"" >> $_tmpnginxA
|
||||||
echo $_endmarker >> $_tmpnginxA
|
echo $_endmarker >> $_tmpnginxA
|
||||||
IFS=$LASTUPDATEIFS
|
IFS=$LASTUPDATEIFS
|
||||||
mv $_tmpnginxA $_inputdbA
|
mv $_tmpnginxA $_inputdbA
|
||||||
ed -s $_inputdbA<<\IN
|
ed -s $_inputdbA<<\IN
|
||||||
1,/##### Version Information #/d
|
1,/####################/d
|
||||||
/##### Version Information ##/,$d
|
/#####################/,$d
|
||||||
,d
|
,d
|
||||||
.r /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/README.md
|
.r /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/README.md
|
||||||
/##### Version Information #/x
|
/####################/x
|
||||||
.t.
|
.t.
|
||||||
.,/##### Version Information ##/-d
|
.,/#####################/-d
|
||||||
#,p
|
#,p
|
||||||
#,p used to print output replaced with w below to write
|
#,p used to print output replaced with w below to write
|
||||||
w /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/README.md
|
w /home/travis/build/mitchellkrogza/nginx-ultimate-bad-bot-blocker/README.md
|
||||||
|
|
Loading…
Add table
Reference in a new issue