Search Results

Search: Posts Made By: daveyabe
3,972
Posted By daveyabe
Ahhhh yes an NF loop! That's what I was trying to...
Ahhhh yes an NF loop! That's what I was trying to think of, thanks mirni!

The previous reply with a function IF statement did not return the desired results but looks like a good effort....even...
3,972
Posted By daveyabe
Transpose multi-line records into a single row
Now that I've parsed out the data that I desire I'm left with variable length multi-line records that are field seperated by new lines (\n) and record seperated by a single empty line ("")

At...
1,905
Posted By daveyabe
I actually realized that the data that I needed...
I actually realized that the data that I needed was encapsulated between a 'Seq.' and 'Total:' fields every time:

1 Seq. Descrição do bem Tipo do bem Valor do bem (R$)
2 1 LOCALIZADO ANA RUA...
1,905
Posted By daveyabe
AWK match and print
I have thousands of tables compiled in a single txt document that I'm parsing with AWK. Scattered throughout the document in random sections I would like to parse out the sections that look like...
1,667
Posted By daveyabe
Actually, I am embarrassed to say this, but I...
Actually, I am embarrassed to say this, but I think my console's width was throwing off what I thought the results were...since I've got thousands of records. I began dumping them into a log file and...
1,667
Posted By daveyabe
Yes, records are always 5 lines.
Yes, records are always 5 lines.
1,667
Posted By daveyabe
Transposing text using AWK
Well I thought that this would be a fairly straight forward operation but perhaps I'm complicating it more in my mind. I have a simple data.txt file containing candidate information in the following...
Showing results 1 to 7 of 7

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