read a line from standard input
source manpages: read