Hello. In the latest version of online manual for gnu bash, in chapter "4.3.1 The Set Builtin" (https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html) there is obscure explanation to option "-a". The sentence says "Mark variables and function which are modified or created for export to ...". First time when I read it I thought that the words "are modified or created for export" should be treated as one statement. But later, after I read descriptions from other sources I have found that "for export" is related to the word "mark" at the beginning of sentence. I propose another description that would be more clear: For each variable or function which is modified or created mark it for export to the environment of subsequent commands.
-- Victor Yarema (Віктор Ярема)