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
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
Help with selecting specific lines in a large file
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
02-05-2008
fpmurphy
Moderator
Join Date: Dec 2003
Location: Florida
Posts: 1,937
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
Visit fpmurphy's homepage!
Find all posts by fpmurphy
Find fpmurphy's past nominations received
Find fpmurphy's present nominations given