From f4fc3104aa5b99209805690edf8f36ef90fa604b Mon Sep 17 00:00:00 2001 From: Mitchell Krog Date: Fri, 2 Jun 2017 11:23:51 +0200 Subject: [PATCH] Fix Formatting of Version Information in README.md --- README.md | 4 ++-- travisCI/modify-readme.sh | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 7cf74f954..62460979c 100644 --- a/README.md +++ b/README.md @@ -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 End--##### 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: diff --git a/travisCI/modify-readme.sh b/travisCI/modify-readme.sh index dc0ce67e3..9ad944a5f 100755 --- a/travisCI/modify-readme.sh +++ b/travisCI/modify-readme.sh @@ -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