Writing interactive scripts

Chapter 8. Writing interactive scripts

In this chapter we will discuss how to interact with the users of our scripts:

  • Printing user friendly messages and explanations

  • Catching user input

  • Prompting for user input

  • Using the file descriptors to read from and write to multiple files