Massive indent of all codes:
[scilab.git] / scilab / modules / io / help / ja_JP / unix_w.xml
1     <?xml version="1.0" encoding="UTF-8"?>
2     <!--
3  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4  * Copyright (C) XXXX-2008 - INRIA
5  * 
6  * This file must be used under the terms of the CeCILL.
7  * This source file is licensed as described in the file COPYING, which
8  * you should have received as part of this distribution.  The terms
9  * are also available at    
10  * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
11  *
12  -->
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" xmlns:scilab="http://www.scilab.org" xml:lang="ja" xml:id="unix_w">
14         <refnamediv>
15             <refname>unix_w</refname>
16             <refpurpose>シェル (sh) コマンドを実行, 出力をScilabウインドウにリダイレクトする</refpurpose>
17         </refnamediv>
18         <refsynopsisdiv>
19             <title>呼び出し手順</title>
20             <synopsis>unix_w(cmd)</synopsis>
21         </refsynopsisdiv>
22         <refsection>
23             <title>パラメータ</title>
24             <variablelist>
25                 <varlistentry>
26                     <term>cmd</term>
27                     <listitem>
28                         <para>文字列</para>
29                     </listitem>
30                 </varlistentry>
31             </variablelist>
32         </refsection>
33         <refsection>
34             <title>説明</title>
35             <para>
36                 shシェルで実行する文字列 <literal>cmd</literal> を Unixに送信します .
37                 標準出力はScilabウインドウにリダイレクトされます.
38                 Unix実行エラーはトラップされます; *注意* 
39                 コマンドのリストを ";" で区切った場合,
40                 最後のシェルコマンドエラーのみが
41                 リポートされます.これは推奨されません.
42             </para>
43         </refsection>
44         <refsection>
45             <title>例</title>
46             <programlisting role="example"><![CDATA[ 
47 if getos() == 'Windows' then
48   unix_w("dir "+'""'+WSCI+"\modules"+'""'); 
49 else 
50   unix_w("ls $SCI/modules");
51 end
52  ]]></programlisting>
53         </refsection>
54         <refsection role="see also">
55             <title>参照</title>
56             <simplelist type="inline">
57                 <member>
58                     <link linkend="edit">edit</link>
59                 </member>
60                 <member>
61                     <link linkend="manedit">manedit</link>
62                 </member>
63                 <member>
64                     <link linkend="unix_g">unix_g</link>
65                 </member>
66                 <member>
67                     <link linkend="unix_s">unix_s</link>
68                 </member>
69                 <member>
70                     <link linkend="unix_x">unix_x</link>
71                 </member>
72                 <member>
73                     <link linkend="unix">unix</link>
74                 </member>
75             </simplelist>
76         </refsection>
77     </refentry>