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

📄 444-449.html

📁 linux-unix130.linux.and.unix.ebooks130 linux and unix ebookslinuxLearning Linux - Collection of 12 E
💻 HTML
字号:
<HTML>

<HEAD>

<TITLE>Linux in Plain English:Linux Commands Organized by Group</TITLE>

<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<SCRIPT>
<!--
function displayWindow(url, width, height) {
        var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>

 -->




<!--ISBN=1558285423//-->

<!--TITLE=Linux in Plain English//-->

<!--AUTHOR=Patrick Volkerding//-->

<!--AUTHOR=Kevin Reichard//-->

<!--PUBLISHER=IDG Books Worldwide, Inc.//-->

<!--IMPRINT=M & T Books//-->

<!--CHAPTER=5//-->

<!--PAGES=444-449//-->

<!--UNASSIGNED1//-->

<!--UNASSIGNED2//-->



<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="439-443.html">Previous</A></TD>

<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>

<TD><A HREF="450-456.html">Next</A></TD>

</TR>

</TABLE>

</CENTER>

<P><BR></P>

<P><FONT SIZE="+1"><B>msgfmt......<TT>Create Message Option</TT></B></FONT></P>

<P><B>msgfmt</B> <I>option filename.po</I></P>

<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>

<P>The <B>msgfmt</B> command creates a message object <I>filename.mo</I> from a portable message file <I>filename.po</I>, which remains unchanged.</P>

<P><FONT SIZE="+1"><B><I>OPTIONS</I></B></FONT></P>

<TABLE WIDTH="100%">

<TR>

<TD WIDTH="20%"><B>-v</B>

<TD WIDTH="80%">Works in verbose mode.

</TABLE>

<P><FONT SIZE="+1"><B><I>RELATED COMMANDS</I></B></FONT></P>

<DL>

<DD><B>gettext</B>

<DD><B>xgettext</B>

</DL>

<P><FONT SIZE="+1"><B>objcopy......<TT>Object-File Copy</TT></B></FONT></P>

<IMG SRC="images/05-147i.jpg"><P><B>objcopy</B> <I>option(s) infile outfile</I></P>

<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>

<P>The <B>objcopy</B> command copies the contents of an object file to another, using the GNU BFD Library to read and write the object files. It can write the destination object file in a format different from that of the source object file.</P>

<P>A long list of command-line options is available with this command; check the <B>info</B> pages on <B>objcopy</B> for more information.</P>

<P><FONT SIZE="+1"><B>perl......<TT>Perl Language</TT></B></FONT></P>

<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>

<P>Perl is the Practical Extraction and Report Language. It&#146;s an interpreted language optimized for scanning arbitrary text files, extracting information from those text files, and printing reports based on that information. It was made popular by the rise of UNIX and Linux servers on the Internet.

</P>

<P>That is the short definition. It&#146;s also an amazingly complex and useful language, one too complex to summarize here. You&#146;ll want to check out the lengthy online manual pages for <B>perl</B>; they cover all aspects of <B>perl</B> for both the beginner and the advanced user. In addition, you might want to invest in a good <B>perl</B> text.</P>

<P><FONT SIZE="+1"><B>ref......<TT>Display C Function Header</TT></B></FONT></P>

<P><B>ref</B> <I>option(s) filename tag</I></P>

<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>

<P>The <B>ref</B> command displays the header of a function, checking in the <B>tags</B> file and then scanning the source file for the function. The information then returned is an introductory comment (if there is one), the function&#146;s declaration, and the declarations of all arguments.</P>

<P><FONT SIZE="+1"><B><I>OPTIONS</I></B></FONT></P>

<TABLE WIDTH="100%">

<TR>

<TD WIDTH="20%"><B>-c <I>class</I></B>

<TD WIDTH="80%">Specifies a <I>class</I> for the tag.

<TR>

<TD><B>-f <I>file</I></B>

<TD>Looks for a tag (as a static function) in <I>file</I>.

<TR>

<TD VALIGN="TOP"><B>-t</B>

<TD>Outputs tag information, instead of the function header.

</TABLE>

<P><FONT SIZE="+1"><B><I>RELATED COMMANDS</I></B></FONT></P>

<DL>

<DD><B>ctags</B>

</DL>

<P><FONT SIZE="+1"><B>rpcgen......<TT>RPC compiler</TT></B></FONT></P>

<P><B>rpcgen</B> <I>infile option(s)</I></P>

<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>

<P>The <B>rpcgen</B> command generates C code to implement an RPC protocol. The input to <B>rpcgen</B> is a language similar to C known as RPC Language (Remote Procedure Call Language). See the online-manual pages for a more detailed description.</P>

<P><FONT SIZE="+1"><B><I>OPTIONS</I></B></FONT></P>

<TABLE WIDTH="100%">

<TR>

<TD WIDTH="20%"><B>-5</B>

<TD WIDTH="80%">Generates code for the SVR4-style of RPC.

<TR>

<TD VALIGN="TOP"><B>-a</B>

<TD>Generates all files, including the sample code for client and server side.

<TR>

<TD VALIGN="TOP"><B>-b</B>

<TD>Generates code for the SunOS4.1-style of RPC (the default).

<TR>

<TD><B>-c</B>

<TD>Compiles into XDR routines.

<TR>

<TD VALIGN="TOP"><B>-C</B>

<TD>Generates code in ANSI C. This option also generates code that could be compiled with the C&#43;&#43; compiler. (Default.)

<TR>

<TD><B>-D <I>name</I></B>

<TD>Defines a symbol <I>name</I>.

<TR>

<TD><B>-h</B>

<TD>Compiles into C data-definitions (a header file).

<TR>

<TD VALIGN="TOP"><B>-I</B>

<TD>Generates a service that can be started from <B>inetd</B>, instead of the default static service that handles transports selected with <B>-s</B>.

<TR>

<TD><B>-k</B>

<TD>Generates code in K&#38;R C.

<TR>

<TD VALIGN="TOP"><B>-K <I>secs</I></B>

<TD>Sets the default <I>secs</I> after servicing a request before exiting. To create a server that exits immediately upon servicing a request, <B>-K 0</B> can be used. To create a server that never exits, the appropriate argument is <B>-K -1</B>.

<TR>

<TD><B>-l</B>

<TD>Compiles into client-side stubs.

<TR>

<TD VALIGN="TOP"><B>-m</B>

<TD>Compiles into server-side stubs, but does not generate a <I>main</I> routine.

<TR>

<TD VALIGN="TOP"><B>-n <I>netid</I></B>

<TD>Compiles into server-side stubs for the transport specified by netid. There should be an entry for <I>netid</I> in the <B>netconfig</B> database.

<TR>

<TD VALIGN="TOP"><B>-N</B>

<TD>Uses the newstyle of <B>rpcgen</B>, allowing procedures to have multiple arguments.

<TR>

<TD><B>-o <I>outfile</I></B>

<TD>Specifies the name of the output file.

<TR>

<TD VALIGN="TOP"><B>-s <I>nettype</I></B>

<TD>Compiles into server-side stubs for all the transports belonging to the class <B><I>nettype</I></B>.

<TR>

<TD VALIGN="TOP"><B>-Sc</B>

<TD>Generates sample code to show the use of remote procedure and how to bind to the server before calling the client side stubs generated by <B>rpcgen</B>.

<TR>

<TD VALIGN="TOP"><B>-Ss</B>

<TD>Generates skeleton code for the remote procedures on the server side. You need to fill in the actual code for the remote procedures.

<TR>

<TD><B>-t</B>

<TD>Compiles into RPC dispatch table.

<TR>

<TD><B>-T</B>

<TD>Generates the code to support RPC dispatch tables.

</TABLE>

<P><BR></P>

<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="439-443.html">Previous</A></TD>

<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>

<TD><A HREF="450-456.html">Next</A></TD>

</TR>

</TABLE>

</CENTER>





</td>
</tr>
</table>

<!-- begin footer information -->





</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -