The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
How to grab data between 2 strings ?
.
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
:
How to grab data between 2 strings ?
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
6
(
permalink
)
10-04-2006
anbu23
Registered User
Join Date: Mar 2006
Location: Bangalore,India
Posts: 1,398
Quote:
blah
**********************************************************
** 05T00NPQSMR1 P98P2234 Tue 10 03 09:57:24 2006
Code:
sed
-n '/05T00NPQSMR1/,/*\{58\}/p' input
where 58 is length of above asterisk line
anbu23
View Public Profile
Find all posts by anbu23
Find anbu23's past nominations received
Find anbu23's present nominations given