The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #5 (permalink)  
Old 05-16-2008
chella chella is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 75
Quote:
read -n nchars
Read returns after reading nchars characters rather than
waiting for a complete line of input.
So -n1 means reading character by character.

Regards,
Chella