Text-editing operations are normally done interactively, inside a text editor application. Some tasks, however, can be accomplished quickly and easily, right from the UNIX command line. What's more, these one-liners can be used in scripts to automate various editing procedures.