~ubuntu-branches/ubuntu/raring/scilab/raring-proposed

« back to all changes in this revision

Viewing changes to modules/io/help/pt_BR/host.xml

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-08-30 14:42:38 UTC
  • mfrom: (1.4.7)
  • Revision ID: package-import@ubuntu.com-20120830144238-c1y2og7dbm7m9nig
Tags: 5.4.0-beta-3-1~exp1
* New upstream release
* Update the scirenderer dep
* Get ride of libjhdf5-java dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 *
12
12
 -->
13
13
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="host" xml:lang="en">
14
 
  <refnamediv>
15
 
    <refname>host</refname>
16
 
    <refpurpose>execu��o de comandos do Unix ou DOS</refpurpose>
17
 
  </refnamediv>
18
 
  <refsynopsisdiv>
19
 
    <title>Seq��ncia de Chamamento</title>
20
 
    <synopsis>stat=host(command-name)</synopsis>
21
 
  </refsynopsisdiv>
22
 
  <refsection>
23
 
    <title>Par�metros</title>
24
 
    <variablelist>
25
 
      <varlistentry>
26
 
        <term>command-name</term>
27
 
        <listitem>
28
 
          <para>um string contendo uma instru��o sh Unix </para>
29
 
        </listitem>
30
 
      </varlistentry>
31
 
      <varlistentry>
32
 
        <term>stat</term>
33
 
        <listitem>
34
 
          <para>um flag ("indicador") inteiro </para>
35
 
        </listitem>
36
 
      </varlistentry>
37
 
    </variablelist>
38
 
  </refsection>
39
 
  <refsection>
40
 
    <title>Descri��o</title>
41
 
    <para>
42
 
      Envia um string <literal>command-name</literal> para o Unix para
43
 
      execu��o pelo interpretador de comando (sh em Unix, ou command.com em
44
 
      DOS). As sa�das e os erros padr�es do comando do shell s�o escritos no
45
 
      shell chamado. <literal>stat</literal> fornece -1 se o "host" (significa
46
 
      "anfitri�o") n�o pode ser chamado (mem�ria dispon�vel do sistema
47
 
      insuficiente) ou se o interpretador de comando retorna o c�digo.
48
 
    </para>
49
 
  </refsection>
50
 
  <refsection>
51
 
    <title>Exemplos</title>
52
 
    <programlisting role="example"><![CDATA[ 
 
14
    <refnamediv>
 
15
        <refname>host</refname>
 
16
        <refpurpose>execu��o de comandos do Unix ou DOS</refpurpose>
 
17
    </refnamediv>
 
18
    <refsynopsisdiv>
 
19
        <title>Seq��ncia de Chamamento</title>
 
20
        <synopsis>stat=host(command-name)</synopsis>
 
21
    </refsynopsisdiv>
 
22
    <refsection>
 
23
        <title>Par�metros</title>
 
24
        <variablelist>
 
25
            <varlistentry>
 
26
                <term>command-name</term>
 
27
                <listitem>
 
28
                    <para>um string contendo uma instru��o sh Unix </para>
 
29
                </listitem>
 
30
            </varlistentry>
 
31
            <varlistentry>
 
32
                <term>stat</term>
 
33
                <listitem>
 
34
                    <para>um flag ("indicador") inteiro </para>
 
35
                </listitem>
 
36
            </varlistentry>
 
37
        </variablelist>
 
38
    </refsection>
 
39
    <refsection>
 
40
        <title>Descri��o</title>
 
41
        <para>
 
42
            Envia um string <literal>command-name</literal> para o Unix para
 
43
            execu��o pelo interpretador de comando (sh em Unix, ou command.com em
 
44
            DOS). As sa�das e os erros padr�es do comando do shell s�o escritos no
 
45
            shell chamado. <literal>stat</literal> fornece -1 se o "host" (significa
 
46
            "anfitri�o") n�o pode ser chamado (mem�ria dispon�vel do sistema
 
47
            insuficiente) ou se o interpretador de comando retorna o c�digo.
 
48
        </para>
 
49
    </refsection>
 
50
    <refsection>
 
51
        <title>Exemplos</title>
 
52
        <programlisting role="example"><![CDATA[ 
53
53
//criando uma fun��o getdir baseda no host
54
54
function wd=getdir()
55
55
  if getos() == 'Windows' then 
62
62
//chamando-a
63
63
wd=getdir()
64
64
 ]]></programlisting>
65
 
  </refsection>
66
 
  <refsection role="see also">
67
 
    <title>Ver Tamb�m</title>
68
 
    <simplelist type="inline">
69
 
      <member>
70
 
        <link linkend="edit">edit</link>
71
 
      </member>
72
 
      <member>
73
 
        <link linkend="manedit">manedit</link>
74
 
      </member>
75
 
      <member>
76
 
        <link linkend="unix_g">unix_g</link>
77
 
      </member>
78
 
      <member>
79
 
        <link linkend="unix_s">unix_s</link>
80
 
      </member>
81
 
      <member>
82
 
        <link linkend="unix_w">unix_w</link>
83
 
      </member>
84
 
      <member>
85
 
        <link linkend="unix_x">unix_x</link>
86
 
      </member>
87
 
    </simplelist>
88
 
  </refsection>
 
65
    </refsection>
 
66
    <refsection role="see also">
 
67
        <title>Ver Tamb�m</title>
 
68
        <simplelist type="inline">
 
69
            <member>
 
70
                <link linkend="edit">edit</link>
 
71
            </member>
 
72
            <member>
 
73
                <link linkend="manedit">manedit</link>
 
74
            </member>
 
75
            <member>
 
76
                <link linkend="unix_g">unix_g</link>
 
77
            </member>
 
78
            <member>
 
79
                <link linkend="unix_s">unix_s</link>
 
80
            </member>
 
81
            <member>
 
82
                <link linkend="unix_w">unix_w</link>
 
83
            </member>
 
84
            <member>
 
85
                <link linkend="unix_x">unix_x</link>
 
86
            </member>
 
87
        </simplelist>
 
88
    </refsection>
89
89
</refentry>