1
# Date: Sun, 4 May 2014 18:09:01 +0200
2
# From: Davide Brini <dave_br@gmx.com>
4
# Subject: Re: [bug-gawk] Computed regex and getline bug / issue
6
# I have been able to reduce the behavior to these simple test cases, which
7
# (unless I'm missing something obvious) should behave identically but don't:
9
# $ printf '1,2,' | gawk 'BEGIN{RS="[,]+"}{print; a = getline; print "-"a"-"; print}'
19
printf "[%s] [%s]\n", $0, RT
22
printf "[%s] [%s]\n", $0, RT