The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
to separate a specific pattern
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
:
to separate a specific pattern
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
#
2
(
permalink
)
03-06-2006
vino
Supporter (in vino veritas)
Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,710
Code:
sed
-n -e '/OBJECT TYPE/{N;p}' input.txt
vino
View Public Profile
Find all posts by vino