Commit | Line | Data |
---|---|---|
70e18513 BJ |
1 | .TH GETS UCB 2/24/79 UCB |
2 | .SH NAME | |
3 | gets \- get a string from standard input | |
4 | .SH SYNOPSIS | |
5 | .B gets | |
6 | [ default ] | |
7 | .SH DESCRIPTION | |
8 | .I Gets | |
9 | can be used with | |
10 | .IR csh (UCB) | |
11 | to read a string from the standard input. | |
12 | If a | |
13 | .I default | |
14 | is given it is used if an error occurs. | |
15 | The resultant string (either the default or as read from the standard | |
16 | input is written to the standard output. | |
17 | If no | |
18 | .I default | |
19 | is given and an error occurs, | |
20 | .I gets | |
21 | exits with exit status 1. | |
22 | .SH "SEE ALSO" | |
23 | csh (UCB) | |
24 | .SH BUGS |