Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: Ophiuchus
Posted By Ophiuchus
Thanks MadeInGermany, your're right. I've...
Thanks MadeInGermany, your're right.

I've added the END and print when each block begins and at the END and works now and adding the function as you sugested.

awk '
function prt(){if (NR>1)...
Posted By Ophiuchus
Hi pred, Try with:awk 'BEGIN{RS=">"}...
Hi pred,

Try with:awk 'BEGIN{RS=">"} /<TABLE-ROW/{c++}END{print c}' TABLE.xml
Showing results 1 to 2 of 2


Featured Tech Videos

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