Search Results

Search: Posts Made By: counfhou
13,332
Posted By Yoda
awk -F'[<>]' ' { for ( i = 1; i <= NF;...
awk -F'[<>]' ' {
for ( i = 1; i <= NF; i++ )
{
if ( $i == "p" )
f = 1
if ( $i == "/p" )
f = 0
...
13,332
Posted By itkamaraj
try this.. $ cat a.txt <div...
try this..

$ cat a.txt
<div id="bodyContent">
--other html stuff
<p>
--wanted data--
</p>
</div>
<div id="bodyContent">
--other html stuff
<p>
--test message--
--wanted data--
</p>...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 01:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy