Hi Friends,
Very urgent requirement
please do needful ASAP..
Input:
|1||1|1||1|3||3|2||2|4||4|2||2|3||3|NA||0|5||5|NA||0|4||4|3||3
output:
|1||1
|1||1
|3||3
|2||2
|4||4
|2||2
|3||3
|NA||0
|5||5
|NA||0
|4||4
|3||3
Please provide logic in awk only.
I have tried but unable to substring properly.
saps19
November 5, 2014, 2:11am
2
Please search forum once before posting.
The below URL might help you.
Transpose Using Awk
Hi saps19,
Thanks for you quick reply.
But Written logic in given link doesn't full fill my requirement.
please help me out
saps19
November 5, 2014, 3:01am
4
Please let us know:
If, the single separator is "|" (ASCII value: 124) and double separator is "||" (ASCII value: 186) or all separtors are "|" only.
RudiC
November 5, 2014, 4:27am
5
ASAP, urgent, and even more Very urgent are difficult words in here, see forum rules.
Please show us your attempts including results and/or error msgs.