blob: a7667910ed10b86a80a68a1d6e255fc3263d5b9b [file] [log] [blame]
.\" This page is in the public domain
.TH LINE 1 "July 2002" "util-linux" "User Commands"
.SH NAME
line \- read one line
.SH SYNOPSIS
.B line
.SH DESCRIPTION
The utility
.B 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 (1p)
.SH AVAILABILITY
The line command is part of the util-linux package and is available from
https://www.kernel.org/pub/linux/utils/util-linux/.