Nobody really knows what the Bourne shell's grammar is. Even examination of the source code is little help.