Friday, April 07, 2006

Output all the text from file Foo.txt between “Chapter 2” and "Chapter 5"

$ sed -n '/Chapter 2/,/ Chapter 5/ p' Foo.txt

0 Comments:

Post a Comment

<< Home