anchor.diff:      { if (/<Digest>/) {print $3;} }
       ' $downloadedFile | tee hash
       [ -n "$(cat hash)" ]
  +
  +    awk '
  +    BEGIN { FS = "[<>]"; }
  +    { if (/<DigestType>/) {print $3;} }
  +    ' $downloadedFile | tee hash-type
  +    [ -n "$(cat hash-type)" ]
   
       echo -n "Root Key Id (root-anchors.xml): "
       awk '
  
positive.code:     {
        getline id<"xml-id";
        getline hash<"hash";
        print "Domain: " $1;
        print "Id: " id;
        print "Hash: " hash;
        print "Flags: " $5;
        print "Protocol: " $6;
        print "Algorithm: " $7;
  
negative.code: fetchurl {
    name = "dnssec-root-2010-07-15";
    url = "https://data.iana.org/root-anchors/root-anchors.xml";
    sha256 = "1ifni2nzb0yxzh23zmah0hnma1cj597jp59dsamvna8sja0jwykv";
    downloadToTemp = true;
    recursiveHash = true;
    postFetch = ''
  