xref
: /
freebsd
/
contrib
/
one-true-awk
/
bugs-fixed
/
getline-corruption.awk
(revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
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