OT: supress interupt character in UNIX script

OT: supress interupt character in UNIX script

 

  

Hi all,

Quick scripting question:

I have a script with a while loop that accepts a string of characters passed to it and returns the count to the screen when ctrl+D is sent.

The only problem is that I get a D printed after the number when it returns. Is there a way to supress this?

TIA

Dan

_____________________________________________________________
Get your FREE OiNK-Mail ---> http://www.oink.co.uk

_____________________________________________________________
Select your own custom email address for FREE! Get [Email Address Removed] w/No Ads, 6MB, POP & more! http://www.everyone.net/selectmail?campaign=tag
Oracle LazyDBA home page