[GTALUG] Script to show HTTP(S) and TLS details for a website

D. Hugh Redelmeier hugh at mimosa.com
Sat Sep 14 10:02:46 EDT 2019


| From: William Park via talk <talk at gtalug.org>

| Hmm, minor personal irritant about variable assigment:
|     var=$(...)
| is enough.  You don't need to do
|     var="$(...)"

I think that getting quotes right in sh is hard.  I support the
simplest rule that works:

Always double-quote a $ thing UNLESS it must not be quoted.

The case you point out may be quoted, so I would quote it.


More information about the talk mailing list