$ perl -ne'12345..12345 and print' file