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

« back to all changes in this revision

Viewing changes to modules/io/help/en_US/unix_w.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:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="unix_w">
14
 
  <refnamediv>
15
 
    <refname>unix_w</refname>
16
 
    <refpurpose>shell (sh) command execution, output
17
 
      redirected to scilab window
18
 
    </refpurpose>
19
 
  </refnamediv>
20
 
  <refsynopsisdiv>
21
 
    <title>Calling Sequence</title>
22
 
    <synopsis>unix_w(cmd)</synopsis>
23
 
  </refsynopsisdiv>
24
 
  <refsection>
25
 
    <title>Arguments</title>
26
 
    <variablelist>
27
 
      <varlistentry>
28
 
        <term>cmd</term>
29
 
        <listitem>
30
 
          <para>a character string</para>
31
 
        </listitem>
32
 
      </varlistentry>
33
 
    </variablelist>
34
 
  </refsection>
35
 
  <refsection>
36
 
    <title>Description</title>
37
 
    <para>
38
 
      Sends a string <literal>cmd</literal> to Unix for execution by the sh shell.
39
 
      The standard output is redirected to scilab window. Unix execution errors
40
 
      are trapped; *NOTE* that only the last shell command error is reported
41
 
      when a list of command separated by ";" is sent: this is not
42
 
      recommended.
43
 
    </para>
44
 
  </refsection>
45
 
  <refsection>
46
 
    <title>Examples</title>
47
 
    <programlisting role="example"><![CDATA[ 
 
14
    <refnamediv>
 
15
        <refname>unix_w</refname>
 
16
        <refpurpose>shell (sh) command execution, output
 
17
            redirected to scilab window
 
18
        </refpurpose>
 
19
    </refnamediv>
 
20
    <refsynopsisdiv>
 
21
        <title>Calling Sequence</title>
 
22
        <synopsis>unix_w(cmd)</synopsis>
 
23
    </refsynopsisdiv>
 
24
    <refsection>
 
25
        <title>Arguments</title>
 
26
        <variablelist>
 
27
            <varlistentry>
 
28
                <term>cmd</term>
 
29
                <listitem>
 
30
                    <para>a character string</para>
 
31
                </listitem>
 
32
            </varlistentry>
 
33
        </variablelist>
 
34
    </refsection>
 
35
    <refsection>
 
36
        <title>Description</title>
 
37
        <para>
 
38
            Sends a string <literal>cmd</literal> to Unix for execution by the sh shell.
 
39
            The standard output is redirected to scilab window. Unix execution errors
 
40
            are trapped; *NOTE* that only the last shell command error is reported
 
41
            when a list of command separated by ";" is sent: this is not
 
42
            recommended.
 
43
        </para>
 
44
    </refsection>
 
45
    <refsection>
 
46
        <title>Examples</title>
 
47
        <programlisting role="example"><![CDATA[ 
48
48
if getos() == 'Windows' then
49
49
  unix_w("dir "+'""'+WSCI+"\modules"+'""'); 
50
50
else 
51
51
  unix_w("ls $SCI/modules");
52
52
end
53
53
 ]]></programlisting>
54
 
  </refsection>
55
 
  <refsection role="see also">
56
 
    <title>See Also</title>
57
 
    <simplelist type="inline">
58
 
      <member>
59
 
        <link linkend="edit">edit</link>
60
 
      </member>
61
 
      <member>
62
 
        <link linkend="manedit">manedit</link>
63
 
      </member>
64
 
      <member>
65
 
        <link linkend="unix_g">unix_g</link>
66
 
      </member>
67
 
      <member>
68
 
        <link linkend="unix_s">unix_s</link>
69
 
      </member>
70
 
      <member>
71
 
        <link linkend="unix_x">unix_x</link>
72
 
      </member>
73
 
      <member>
74
 
        <link linkend="unix">unix</link>
75
 
      </member>
76
 
    </simplelist>
77
 
  </refsection>
 
54
    </refsection>
 
55
    <refsection role="see also">
 
56
        <title>See Also</title>
 
57
        <simplelist type="inline">
 
58
            <member>
 
59
                <link linkend="edit">edit</link>
 
60
            </member>
 
61
            <member>
 
62
                <link linkend="manedit">manedit</link>
 
63
            </member>
 
64
            <member>
 
65
                <link linkend="unix_g">unix_g</link>
 
66
            </member>
 
67
            <member>
 
68
                <link linkend="unix_s">unix_s</link>
 
69
            </member>
 
70
            <member>
 
71
                <link linkend="unix_x">unix_x</link>
 
72
            </member>
 
73
            <member>
 
74
                <link linkend="unix">unix</link>
 
75
            </member>
 
76
        </simplelist>
 
77
    </refsection>
78
78
</refentry>