From dc8bb7d7ddf5c4af908db91294baa9bd4ba0089a Mon Sep 17 00:00:00 2001 From: Joe Hunkeler Date: Wed, 13 Aug 2014 12:47:51 +0000 Subject: README.md edited online with Bitbucket --- README.md | 4 ++-- 1 file 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 -- cgit