2 ms·
(RS = record separator, it just defaults to newline. You can handle multi-line patterns in awk.)
by silentbicycle 16y ago
(RS = record separator, it just defaults to newline. You can handle multi-line patterns in awk.)
- blasdel 16y agoMy problem was that the records really were purely newline-delimited, but I needed to process them using information from their context in the stream.
- silentbicycle 16y agoFair enough. That's beyond the common cases awk addresses. At that point, I just switch to Lua. (I forget if you're a Python or Ruby guy.)