blob: 93081ea65a047337a0955632c3e434a28e64a7a3 [file] [log] [blame]
.\" This page is in the public domain
.TH LINE 1 "2002-07-07" "" "User Commands"
.SH NAME
line \- read one line
.SH SYNOPSIS
.B line
.SH DESCRIPTION
The utility
.I line
copies one line (up to a newline) from standard input to standard output.
It always prints at least a newline and returns an exit status of 1
on EOF or read error.
.SH "SEE ALSO"
.BR read (1)
.SH AVAILABILITY
The line command is part of the util-linux-ng package and is available from
ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.