xref
: /
freebsd
/
contrib
/
one-true-awk
/
bugs-fixed
/
getline-corruption.awk
(revision 4fefe1b763573c873bf3dbf3b6f28c22de0ffada)
Home
History
Annotate
Line#
Scopes#
Navigate#
Raw
Download
current directory
1
BEGIN
{
2
getline
l
3
getline
l
4
print
(
s
=
substr
(
l
,
1
,
10
))
" len="
length
(
s
)
5
}
6