export uid=1000; perl -ne '$1 > $ENV{"uid"} and print if /\w+:\w+:(\d+)/' /etc/passwd