⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 asa.html

📁 unix 下的C开发手册,还用详细的例程。
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><!-- Copyright 1997 The Open Group, All Rights Reserved --><title>asa</title></head><body bgcolor=white><center><font size=2>The Single UNIX &reg; Specification, Version 2<br>Copyright &copy; 1997 The Open Group</font></center><hr size=2 noshade><h4><a name = "tag_000_000_058">&nbsp;</a>NAME</h4><blockquote>asa - interpret carriage-control characters</blockquote><h4><a name = "tag_000_000_059">&nbsp;</a>SYNOPSIS</h4><blockquote><code><p><i>asa</i><b>[</b><i>file ...</i><b>]</b></code></blockquote><h4><a name = "tag_000_000_060">&nbsp;</a>DESCRIPTION</h4><blockquote>The<i>asa</i>utility will write its input files to standard output, mappingcarriage-control characters from thetext files to line-printer control sequencesin an implementation-dependent manner.<p>The first character of every line will be removedfrom the input, and the following actions will be performed:<p>If the character removed is:<dl compact><dt>space<dd>The rest of the line will be output without change.<dt><b>0</b><dd>Anewline characterwill be output, then the rest of the input line.<dt><b>1</b><dd>One or more implementation-dependent characters that causesan advance to the next page will be output, followed by the rest ofthe input line.<dt><b>+</b><dd>Thenewline characterof the previous line will be replaced with one or more implementation-dependentcharacters that causes printing to return to column position 1,followed by the rest of the input line.If the"+"is the first character in the input, it will have the same effect asthe space character.</dl><p>The action of the<i>asa</i>utility is unspecified upon encountering any character other thanthose listed above as the first character in a line.</blockquote><h4><a name = "tag_000_000_061">&nbsp;</a>OPTIONS</h4><blockquote>None.</blockquote><h4><a name = "tag_000_000_062">&nbsp;</a>OPERANDS</h4><blockquote><dl compact><dt><i>file</i><dd>A pathname of a text file used for input.If no<i>file</i>operands are specified,the standard input will be used.</dl></blockquote><h4><a name = "tag_000_000_063">&nbsp;</a>STDIN</h4><blockquote>The standard input will be used only if no<i>file</i>operands are specified.See the INPUT FILES section.</blockquote><h4><a name = "tag_000_000_064">&nbsp;</a>INPUT FILES</h4><blockquote>The input files must be text files.</blockquote><h4><a name = "tag_000_000_065">&nbsp;</a>ENVIRONMENT VARIABLES</h4><blockquote>The following environment variables affect the execution of<i>asa</i>:<dl compact><dt><i>LANG</i><dd>Provide a default value for the internationalisation variablesthat are unset or null.If<i>LANG</i>is unset or null, the corresponding value from theimplementation-dependent default locale will be used.If any of the internationalisation variables contains an invalid setting, theutility will behave as if none of the variables had been defined.<dt><i>LC_ALL</i><dd>If set to a non-empty string value,override the values of all the other internationalisation variables.<dt><i>LC_CTYPE</i><dd>Determine thelocale for the interpretation of sequences of bytes of text data ascharacters (for example, single- as opposed to multi-byte charactersin arguments and input files).<dt><i>LC_MESSAGES</i><dd>Determine the locale that should be used to affectthe format and contents of diagnosticmessages written to standard error.<dt><i>NLSPATH</i><dd>Determine the location of message cataloguesfor the processing of<i>LC_MESSAGES .</i></dl></blockquote><h4><a name = "tag_000_000_066">&nbsp;</a>ASYNCHRONOUS EVENTS</h4><blockquote>Default.</blockquote><h4><a name = "tag_000_000_067">&nbsp;</a>STDOUT</h4><blockquote>The standard output will be the text from the input filemodified as described in the DESCRIPTION section.</blockquote><h4><a name = "tag_000_000_068">&nbsp;</a>STDERR</h4><blockquote>None.</blockquote><h4><a name = "tag_000_000_069">&nbsp;</a>OUTPUT FILES</h4><blockquote>None.</blockquote><h4><a name = "tag_000_000_070">&nbsp;</a>EXTENDED DESCRIPTION</h4><blockquote>None.</blockquote><h4><a name = "tag_000_000_071">&nbsp;</a>EXIT STATUS</h4><blockquote>The following exit values are returned:<dl compact><dt>0<dd>All input files were output successfully.<dt>&gt;0<dd>An error occurred.</dl></blockquote><h4><a name = "tag_000_000_072">&nbsp;</a>CONSEQUENCES OF ERRORS</h4><blockquote>Default.</blockquote><h4><a name = "tag_000_000_073">&nbsp;</a>APPLICATION USAGE</h4><blockquote>None.</blockquote><h4><a name = "tag_000_000_074">&nbsp;</a>EXAMPLES</h4><blockquote>The following command:<pre><code>asa file</code></pre>permits the viewing of<b>file</b>(created by a program using FORTRAN-style carriage control characters)on a terminal.<p>The following command:<pre><code>a.out | asa | lp</code></pre>formats the FORTRAN output of<b>a.out</b>and directs it to the printer.</blockquote><h4><a name = "tag_000_000_075">&nbsp;</a>FUTURE DIRECTIONS</h4><blockquote>None.</blockquote><h4><a name = "tag_000_000_076">&nbsp;</a>SEE ALSO</h4><blockquote><i><a href="fort77.html">fort77</a></i>,<i><a href="lp.html">lp</a></i>.</blockquote><hr size=2 noshade><center><font size=2>UNIX &reg; is a registered Trademark of The Open Group.<br>Copyright &copy; 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 + -