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

William Park opengeometry at yahoo.ca
Fri Sep 13 22:15:42 EDT 2019


On Fri, Sep 13, 2019 at 09:22:54AM -0400, Giles Orr via talk wrote:
> Having solicited suggestions for improvement, I got more than I bargained
> for (but it was all good!).  It took a while, but I've incorporated most of
> the suggestions:
> 
> https://www.gilesorr.com/blog/tls-https-details2.html

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

Eg.
    $ a="11 * 22"
    $ b=$(echo "$a")
    $ c="$(echo "$a")"
    $ declare -p a b c
    declare -- a="11 * 22"
    declare -- b="11 * 22"
    declare -- c="11 * 22"

-- 
William Park <opengeometry at yahoo.ca>


More information about the talk mailing list