aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2014-08-13 08:47:51 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2014-08-13 08:47:51 -0400
commitdc8bb7d7ddf5c4af908db91294baa9bd4ba0089a (patch)
tree8a697dfb9d07b08150e9ad16c7a2214141928e11
parent45f5dd580a8a8ba834272fcaae7544d0efa05d81 (diff)
downloadcidrchk-dc8bb7d7ddf5c4af908db91294baa9bd4ba0089a.tar.gz
README.md edited online with Bitbucketv1.0.0
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 5376a74..a3810a8 100644
--- a/README.md
+++ b/README.md
@@ -81,7 +81,7 @@ Furthermore, if your computer's IP address was 66.55.45.10 (i.e. you are in your
Issuing `-v` to cidrchk will echo the return value to the console, resulting in slightly cleaner code:
```
-setenv OFFSITE `cidrchk -v 10.0.0.0/24 66.55.32.0/20`
+setenv OFFSITE `cidrchk -v 10.0.0.0/20 66.55.32.0/20`
if ( ${OFFSITE} ) then
# do something clever to prevent personal hardship
@@ -95,7 +95,7 @@ The downside to parsing a string rather than an integer is logical operators wil
The required notation is nearly identical to TCSH:
```
-_OFFSITE=$(cidrchk 10.0.0.0/24 66.55.32.0/20 >/dev/null)
+_OFFSITE=$(cidrchk 10.0.0.0/20 66.55.32.0/20 >/dev/null)
export OFFSITE=$?
if (( ${OFFSITE} )); then