ECHO _ _ _ _ _ _ _ _ _ _ _ _ switch
The echo switch is normally off for top-level entry, and on when files are brought in. If echo is turned on at the top level, your input statements are echoed to the screen (thus appearing twice). Default off (but note default on for files).
If you want to display certain portions of a file and not others, use the commands off echo and on echo inside the file. If you want no display of the file, use the input command
in filename$
rather than using the semicolon delimiter.
Be careful when you use commands within a file to generate another file. Since echo is on for files, the output file echoes input statements (unlike its behavior from the top level). You should explicitly turn off echo when writing output, and turn it back on when you're done.