character count per record

Hello

can someone please advise.
I need to send records in a file that are over 10,000 characters long to a seperate file.

Any ideas?

Thanks

Try if that's what u mean...

awk '{if(length($0)>10000) print $0}' inputfile > outputfile

Thats what I'm after, thanks for that