blob: 72156d9bc0dbea5a2043c5cf352d1ec0b2e65fba (
plain)
1
2
3
4
5
6
7
8
|
#! /bin/sh
AWK=${AWK:-../gawk}
$AWK 'BEGIN {printf "0"; exit}' | $AWK 'BEGIN {RS=""}; {print length(RT)}'
$AWK 'BEGIN {printf "0\n"; exit}' | $AWK 'BEGIN {RS=""}; {print length(RT)}'
$AWK 'BEGIN {printf "0\n\n"; exit}' | $AWK 'BEGIN {RS=""}; {print length(RT)}'
|