in reply to Re: Re: compare stdin for a numberin thread compare stdin for a number
Does this help? perl -lne "print m/^\d{5}$/ ? ' OK' : ' Fail'"
tachyon