
| line(1) | line(1) | 
NAME
line - read one line from user input
SYNOPSIS
line 
DESCRIPTION
line copies one line (up to a 
Options
line recognizes the following 
EXTERNAL INFLUENCES
International Code Set Support
Single- and 
EXAMPLES
The following lines in a shell script prompt for a ®le name and display information about the ®le:
echo 'Enter file name: \c' reply=`line`
ls 
To limit the response time to 10 seconds, use the form:
reply=`line 
then test for no response. If no response occurs before timeout expires, a default behavior should be pro- vided.
WARNINGS
This command is likely to be withdrawn from X/Open standards. Applications using this command might not be portable to other vendors' systems. As an alternative read is recommended.
SEE ALSO sh(1), read(2).
STANDARDS CONFORMANCE line: SVID2, SVID3, XPG2, XPG3
l
| − 1 − | Section 1−451 |