Example from the book: 'Learning the Bash Shell'