diff options
author | Joe Hunkeler <jhunkeler@gmail.com> | 2014-08-13 08:47:51 -0400 |
---|---|---|
committer | Joe Hunkeler <jhunkeler@gmail.com> | 2014-08-13 08:47:51 -0400 |
commit | dc8bb7d7ddf5c4af908db91294baa9bd4ba0089a (patch) | |
tree | 8a697dfb9d07b08150e9ad16c7a2214141928e11 | |
parent | 45f5dd580a8a8ba834272fcaae7544d0efa05d81 (diff) | |
download | cidrchk-dc8bb7d7ddf5c4af908db91294baa9bd4ba0089a.tar.gz |
README.md edited online with Bitbucketv1.0.0
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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
|