in reply to Re^3: How to write a program to read stdin or command line?in thread How to write a program to read stdin or command line?