The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
Help with selecting specific lines in a large file
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Portal
Register
Rules & FAQ
Contribute
Members List
Arcade
Search
Today's Posts
Mark Forums Read
Thread
:
Help with selecting specific lines in a large file
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
02-05-2008
fpmurphy
Moderator
Join Date: Dec 2003
Location: /ksh93
Posts: 850
If you can use grep instead of sed the grep options -A -B or -C should allow you to do what you want to do.
fpmurphy
View Public Profile
Find all posts by fpmurphy