The UNIX and Linux Forums
>
Top Forums
>
UNIX for Dummies Questions & Answers
how to read a file till it encounters a blank line
User Name
Remember Me?
Password
Google UNIX.COM
Forums
Directory
Register
Forum Rules
FAQ
Contribute
Members List
Search
Today's Posts
Mark Forums Read
Thread
:
how to read a file till it encounters a blank line
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
11-25-2007
matrixmadhan
Technorati Master
Join Date: Mar 2005
Location: k-tier distributed caching
Posts: 2,736
Code:
sed
-n "/*/,/\ /p" file
matrixmadhan
View Public Profile
Find all posts by matrixmadhan