awk/testdir/t.max

3 lines
58 B
Plaintext

length > max { max = length; x = $0}
END { print max, x }