freebsd-nq/contrib/one-true-awk/bugs-fixed/numeric-rs.awk
Warner Losh b525355729 Merge from upstream at 4189ef5d from https://github.com/onetrueawk/awk.git
Note: this backs out a number of changes we've made to awk because
they aren't upstream, but are on the vendor branch. Those will be
reapplied. svn makes it needlessly difficult to know which ones, but
at least r315426, r301289, and maybe r301691, though there may be
others too. None of these are critical, so bisecting through this
point is safe for all but awk regression tests :).
2019-06-02 16:25:07 +00:00

7 lines
74 B
Awk

BEGIN {
RS = 1;
while ("echo a1b1c1d" | getline > 0) {
print $1;
}
}