gets(C) 19 June 1992 gets(C) Name gets - get a string from the standard input Syntax gets [ string ] Description The gets command can be used with csh(C) to read a string from the stan- dard input. If string is given it is used as a default value if an error occurs. The resulting string (either string or as read from the standard input) is written to the standard output. If no string is given and an error occurs, gets exits with exit status 1. See also line(C), csh(C) Value added gets is an extension of AT&T System V provided by The Santa Cruz Opera- tion, Inc.