xref: /freebsd/contrib/one-true-awk/bugs-fixed/getline-corruption.awk (revision a91a246563dffa876a52f53a98de4af9fa364c52)
1BEGIN {
2	getline l
3	getline l
4	print (s=substr(l,1,10)) " len=" length(s)
5}
6