- set $(echo $r/$i | tr / .) revealed
- eval rcur=\$rcur_$rh
- case $rcur in $i) set "$@" $(echo $r/current | tr / .) current ;; esac
+
+ ## Determine the revelation status of the recovery key. There are
+ ## maybe things to check: the revelation of the key by explicit
+ ## instance, or, if applicable, as the current instance. Build in the
+ ## positional parameters a sequence of DIR WHAT pairs to process.
+ set $r.$i revealed
+ eval rcur=\$rcur_$r
+ case $rcur in $i) set "$@" $r.current current ;; esac