The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
Need help in sed command (adding a blank line btw each block generated by pattern)
.
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
:
Need help in sed command (adding a blank line btw each block generated by pattern)
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
01-01-2009
reborg
Administrator
Join Date: Mar 2005
Location: Ireland
Posts: 4,246
Somthing like this should work:
Code:
sed
-e '/exec sql/,/;/!d' -e '/;/G'
reborg
View Public Profile
Find all posts by reborg
Find reborg's past nominations received
Find reborg's present nominations given