pub fn write_attrs_sh_file<W>(f: &mut W, map: Map<String, Value>) -> Resultwhere W: Write,
for a given json map, write the file contents of the to-be-sourced bash script. Cf. writeStructuredAttrsShell in Cppnix.