#!/bin/awk -f BEGIN { m = 0; } { if ( $2 > m ) m = $2; } END { print m; }