If you're doing it interactively, use emacs: In Emacs, you can define a keyboard macro using ESC a, ESC e, and/or ESC k (backward-sentence, forward-sentence, and kill-sentence, respectively) to select and manipulate sentences, and put each on a new line. The end of a sentence is defined as a period at the end of a line or a period followed by two spaces.