HI everybody! Hope this is a simple question: in awk programming, if I want to set as Field Separator a blank line (just like this one:
" "
It is not a NEWLINE, it's a "BLANKLINE"), what do I have to use as character/string/expression?
My idea is to split a file into "fields separated by blanklines", so that lines = "everything between one blankline and the next". To do that it might be better to set RS="BLANKLINE" instead of setting FS as a blankline.
If it's difficult to understand, I can put an example afterwards.
Thanks!!
" "
It is not a NEWLINE, it's a "BLANKLINE"), what do I have to use as character/string/expression?
My idea is to split a file into "fields separated by blanklines", so that lines = "everything between one blankline and the next". To do that it might be better to set RS="BLANKLINE" instead of setting FS as a blankline.
If it's difficult to understand, I can put an example afterwards.
Thanks!!