--- Randy McMurchy <[EMAIL PROTECTED]> wrote: > David Murphy wrote these words on 04/25/07 18:56 CST: > > > The book asks you to run: > > grep -B2 '^ /usr/include' dummy.log > > > > But I have an extra line in that list. Running the command (with -B3 > > instead) produces: > > The obvious question that everyone will have is: what happens if you > simply run the commands that are in the book, instead of deviating?
The -B option for grep controls how many lines it grabs before the one that matched. -B2 produced the bottom three lines of the output I listed. I used -B3 to show the top line, indicating that only that one extra line snuck in. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
