Documenting scripts

Just as with any kind of programming, it's important to write some documentation to help your users understand and run your program, and to know all of its available features. We'll look at three documentation methods: writing comments, providing help output, and writing manual pages.