line man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

line(1)								       line(1)

NAME
       line - read one line from user input

SYNOPSIS
       timeout]

DESCRIPTION
       copies  one  line (up to a new-line) from the standard input and writes
       it on the standard output.  It returns an exit code of  1  on  EOF  and
       always prints at least a new-line.  It is often used within shell files
       to read from the user's terminal.

   Options
       recognizes the following command-line option:

	      Timeout after
			  timeout seconds where timeout is  an	integer	 value
			  (if  a  non-integer  value  is specified, it is con‐
			  verted to an integer; i.e., rounded down).  A	 blank
			  is  required between and the timeout argument.  This
			  option is not documented in POSIX and other industry
			  standards, and should not be used in portable appli‐
			  cations.

EXTERNAL INFLUENCES
   International Code Set Support
       Single- and multi-byte character code sets are supported.

EXAMPLES
       The following lines in a shell script prompt for a file name  and  dis‐
       play information about the file:

       To limit the response time to 10 seconds, use the form:

       then  test  for	no  response.	If  no	response occurs before timeout
       expires, a default behavior should be provided.

WARNINGS
       This command is likely to be withdrawn from X/Open standards.  Applica‐
       tions  using  this command might not be portable to other vendors' sys‐
       tems. As an alternative is recommended.

SEE ALSO
       sh(1), read(2).

STANDARDS CONFORMANCE
								       line(1)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net