This chapter is about creating and editing text files using the Unix text editors supplied with Mac OS X. It also takes a quick look at some graphical-based text editors. The seven projects cover the following topics:
These projects help you get up to speed using the three main Unix text editors supplied with Mac OS X: nano, emacs, and vim. The vim editor is covered in greatest detail because it's the toughest to learnbut also the most rewarding if you can learn to think in a vim-like way. Project 36 discusses OS X-native text editors. Chapter 7 offers some techniques for editing files programmatically by using commands such as sed and awk. |