You can get more information from the manual page for the Bourne shell (sh).
To get information about shell programming with another shell, read the manual page for that shell. For example:
This will display the manual page for the Korn shell.
There are a number of books on the different shells and how to program them. Many will be stocked in the computer section of most major booksellers. Or they may be available through your library.