From 222ff1af08036dce3b9b7246e3f17ee84433b7e9 Mon Sep 17 00:00:00 2001 From: Alex Epstein Date: Wed, 28 Jun 2017 00:34:33 -0400 Subject: [PATCH] This might be necessary not sure --- README.md | 4 ++-- stocks/stocks | 4 ++-- weather/weather | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 84930b6..7d3e75a 100644 --- a/README.md +++ b/README.md @@ -66,9 +66,9 @@ crypt -d [encrypted file] [output file] # decrypts files * Password is never in plain text, and OpenSSL generates key based on password * Data is encrypted in Base64, so it can be used as plain text in an email. (Not usually necessary if attached as a file) -**Tested With** => .pdf, .txt, .docx, .doc, .png, .jpeg +**Tested With** .pdf, .txt, .docx, .doc, .png, .jpeg -**CAUTION** => Make sure to use different filenames, otherwise your file will be overwritten! +**CAUTION** Make sure to use different filenames, otherwise your file will be overwritten!
diff --git a/stocks/stocks b/stocks/stocks index 97673df..9cdcef7 100755 --- a/stocks/stocks +++ b/stocks/stocks @@ -116,7 +116,7 @@ while getopts "uv" opt; do \?) echo "Invalid option: -$OPTARG" >&2 exit 1 - ;; + ;; h) help exit 0 @@ -132,7 +132,7 @@ while getopts "uv" opt; do :) echo "Option -$OPTARG requires an argument." >&2 exit 1 - ;; + ;; esac done diff --git a/weather/weather b/weather/weather index 3df460e..b4876e2 100755 --- a/weather/weather +++ b/weather/weather @@ -103,7 +103,7 @@ while getopts "uv" opt; do esac done -if [[ $# == 0 ]]; then +if [[ $# == "0" ]]; then getIPWeather elif [[ $1 == "update" ]]; then update