📄 line.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><!-- Copyright 1997 The Open Group, All Rights Reserved --><title>line</title></head><body bgcolor=white><center><font size=2>The Single UNIX ® Specification, Version 2<br>Copyright © 1997 The Open Group</font></center><hr size=2 noshade><h4><a name = "tag_001_014_1099"> </a>NAME</h4><blockquote>line - read one line (<b><a href="intro.html#tag_001_003_003">LEGACY</a></b>)</blockquote><h4><a name = "tag_001_014_1100"> </a>SYNOPSIS</h4><blockquote><pre><code>line </code></pre></blockquote><h4><a name = "tag_001_014_1101"> </a>DESCRIPTION</h4><blockquote>The<i>line</i>utility copies one line (up to and including a newline) from thestandard input and writes it to standard output.It always writes at least a newline.</blockquote><h4><a name = "tag_001_014_1102"> </a>OPTIONS</h4><blockquote>None.</blockquote><h4><a name = "tag_001_014_1103"> </a>OPERANDS</h4><blockquote>None.</blockquote><h4><a name = "tag_001_014_1104"> </a>STDIN</h4><blockquote>The standard input is a text file.</blockquote><h4><a name = "tag_001_014_1105"> </a>INPUT FILES</h4><blockquote>None.</blockquote><h4><a name = "tag_001_014_1106"> </a>ENVIRONMENT VARIABLES</h4><blockquote>None.</blockquote><h4><a name = "tag_001_014_1107"> </a>ASYNCHRONOUS EVENTS</h4><blockquote>Default.</blockquote><h4><a name = "tag_001_014_1108"> </a>STDOUT</h4><blockquote>The standard output is a text file consisting of one line.</blockquote><h4><a name = "tag_001_014_1109"> </a>STDERR</h4><blockquote>Used only for diagnostic messages.</blockquote><h4><a name = "tag_001_014_1110"> </a>OUTPUT FILES</h4><blockquote>None.</blockquote><h4><a name = "tag_001_014_1111"> </a>EXTENDED DESCRIPTION</h4><blockquote>None.</blockquote><h4><a name = "tag_001_014_1112"> </a>EXIT STATUS</h4><blockquote>Exit status is:<dl compact><dt>0<dd>Successful completion.<dt>>0<dd>End-of-file on input.</dl></blockquote><h4><a name = "tag_001_014_1113"> </a>CONSEQUENCES OF ERRORS</h4><blockquote>Default.</blockquote><h4><a name = "tag_001_014_1114"> </a>APPLICATION USAGE</h4><blockquote>The<i>line</i>utility is often used within command scripts toread from the user's terminal.<p>Applications should migrate to the<i><a href="read.html">read</a></i>utility.</blockquote><h4><a name = "tag_001_014_1115"> </a>EXAMPLES</h4><blockquote>None.</blockquote><h4><a name = "tag_001_014_1116"> </a>FUTURE DIRECTIONS</h4><blockquote>None.</blockquote><h4><a name = "tag_001_014_1117"> </a>SEE ALSO</h4><blockquote><i><a href="read.html">read</a></i>.</blockquote><hr size=2 noshade><center><font size=2>UNIX ® is a registered Trademark of The Open Group.<br>Copyright © 1997 The Open Group<br> [ <a href="../index.html">Main Index</a> | <a href="../xshix.html">XSH</a> | <a href="../xcuix.html">XCU</a> | <a href="../xbdix.html">XBD</a> | <a href="../cursesix.html">XCURSES</a> | <a href="../xnsix.html">XNS</a> ]</font></center><hr size=2 noshade></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -