msgid "" msgstr "" "X-Pootle-Revision: 9999999\n" "X-Pootle-Path: /zh_CN/lfs/chapter08/flex.po\n" "Project-Id-Version: PACKAGE VERSION\n" "POT-Creation-Date: 2020-08-08 19:28+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "Language: zh_CN\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: Translate Toolkit 2.2.5\n" #. type: Content of:
#, no-wrap msgid "&flex-url;" msgstr "&flex-url;" #. type: Content of: msgid "" "flex &flex-version; " msgstr "" "flex &flex-version; " #. type: Content of: msgid "Flex-&flex-version;" msgstr "Flex-&flex-version;" #. type: Content of: <sect1><indexterm><primary> msgid "Flex" msgstr "Flex" #. type: Content of: <sect1><sect2><para> msgid "" "The Flex package contains a utility for generating programs that recognize " "patterns in text." msgstr "Flex 软件包包含一个工具,用于生成在文本中识别模式的程序。" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> msgid "&buildtime;" msgstr "&buildtime;" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> msgid "&diskspace;" msgstr "&diskspace;" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> msgid "&flex-fin-sbu;" msgstr "&flex-fin-sbu;" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> msgid "&flex-fin-du;" msgstr "&flex-fin-du;" #. type: Content of: <sect1><sect2><title> msgid "Installation of Flex" msgstr "安装 Flex" #. type: Content of: <sect1><sect2><para> msgid "Prepare Flex for compilation:" msgstr "准备编译 Flex:" #. <screen> #. <userinput remap="configure">HELP2MAN=/tools/bin/true \ #. type: Content of: <sect1><sect2><screen> #, no-wrap msgid "<userinput remap=\"configure\">./configure --prefix=/usr --docdir=/usr/share/doc/flex-&flex-version;</userinput>" msgstr "<userinput remap=\"configure\">./configure --prefix=/usr --docdir=/usr/share/doc/flex-&flex-version;</userinput>" #. type: Content of: <sect1><sect2><para> msgid "Compile the package:" msgstr "编译该软件包:" #. type: Content of: <sect1><sect2><screen> #, no-wrap msgid "<userinput remap=\"make\">make</userinput>" msgstr "<userinput remap=\"make\">make</userinput>" #. type: Content of: <sect1><sect2><para> msgid "To test the results (about 0.5 SBU), issue:" msgstr "如果要测试编译结果 (需要约 0.5 SBU), 执行:" #. type: Content of: <sect1><sect2><screen> #, no-wrap msgid "<userinput remap=\"test\">make check</userinput>" msgstr "<userinput remap=\"test\">make check</userinput>" #. type: Content of: <sect1><sect2><para> msgid "Install the package:" msgstr "安装该软件包:" #. type: Content of: <sect1><sect2><screen> #, no-wrap msgid "<userinput remap=\"install\">make install</userinput>" msgstr "<userinput remap=\"install\">make install</userinput>" #. type: Content of: <sect1><sect2><para> msgid "" "A few programs do not know about <command>flex</command> yet and try to run " "its predecessor, <command>lex</command>. To support those programs, create a " "symbolic link named <filename>lex</filename> that runs <filename>flex</" "filename> in <command>lex</command> emulation mode:" msgstr "" "个别程序还不知道 <command>flex</command>,并试图去运行它的前身 <command>lex</" "command>。为了支持这些程序,创建一个名为 <filename>lex</filename> 的符号链" "接,它运行 <filename>flex</filename> 并启动其模拟 <command>lex</command> 的模" "式:" #. type: Content of: <sect1><sect2><screen> #, no-wrap msgid "<userinput remap=\"install\">ln -sv flex /usr/bin/lex</userinput>" msgstr "<userinput remap=\"install\">ln -sv flex /usr/bin/lex</userinput>" #. type: Content of: <sect1><sect2><title> msgid "Contents of Flex" msgstr "Flex 的内容" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> msgid "Installed programs" msgstr "安装的程序" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> msgid "Installed libraries" msgstr "安装的库" #. type: Content of: <sect1><sect2><segmentedlist><segtitle> msgid "Installed directory" msgstr "安装的目录" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> msgid "flex, flex++ (link to flex), and lex (link to flex)" msgstr "flex, flex++ (到 flex 的链接), 以及 lex (到 flex 的链接)" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> msgid "libfl.so" msgstr "libfl.so" #. type: Content of: <sect1><sect2><segmentedlist><seglistitem><seg> msgid "/usr/share/doc/flex-&flex-version;" msgstr "/usr/share/doc/flex-&flex-version;" #. type: Content of: <sect1><sect2><variablelist><bridgehead> msgid "Short Descriptions" msgstr "简要描述" #. type: Content of: <sect1><sect2><variablelist> msgid "" "<?dbfo list-presentation=\"list\"?> <?dbhtml list-presentation=\"table\"?>" msgstr "" "<?dbfo list-presentation=\"list\"?> <?dbhtml list-presentation=\"table\"?>" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> msgid "<command>flex</command>" msgstr "<command>flex</command>" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> msgid "" "A tool for generating programs that recognize patterns in text; it allows " "for the versatility to specify the rules for pattern-finding, eradicating " "the need to develop a specialized program" msgstr "" "一个用于生成在文本文件中识别模式的程序的工具,它允许灵活地指定查找模式的规" "则,消除了开发专用程序的需要。" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> msgid "flex" msgstr "flex" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> msgid "<command>flex++</command>" msgstr "<command>flex++</command>" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> msgid "" "An extension of flex, is used for generating C++ code and classes. It is a " "symbolic link to <command>flex</command>" msgstr "" "flex 的扩展,用于生成 C++ 代码和类。它是一个指向 <command>flex</command> 的符" "号链接" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> msgid "flex++" msgstr "flex++" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> msgid "<command>lex</command>" msgstr "<command>lex</command>" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> msgid "" "A symbolic link that runs <command>flex</command> in <command>lex</command> " "emulation mode" msgstr "" "一个以 <command>lex</command> 仿真模式运行 <command>flex</command> 的符号链接" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> msgid "lex" msgstr "lex" #. type: Content of: <sect1><sect2><variablelist><varlistentry><term> msgid "<filename class=\"libraryfile\">libfl</filename>" msgstr "<filename class=\"libraryfile\">libfl</filename>" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><para> msgid "The <filename class=\"libraryfile\">flex</filename> library" msgstr "<filename class=\"libraryfile\">flex</filename> 库" #. type: Content of: <sect1><sect2><variablelist><varlistentry><listitem><indexterm><primary> msgid "libfl" msgstr "libfl"