GPL + CeCILL Header change
[scilab.git] / scilab / modules / io / help / ja_JP / unix_s.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  * Copyright (C) 2012 - 2016 - Scilab Enterprises
7  *
8  * This file is hereby licensed under the terms of the GNU GPL v2.0,
9  * pursuant to article 5.3.4 of the CeCILL v.2.1.
10  * This file was originally licensed under the terms of the CeCILL v2.1,
11  * and continues to be available under such terms.
12  * For more information, see the COPYING file which you should have received
13  * along with this program.
14  * === LICENSE_END ===
15  *
16  -->
17 <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_s">
18     <refnamediv>
19         <refname>unix_s</refname>
20         <refpurpose>シェル (sh)コマンドを実行, 出力なし</refpurpose>
21     </refnamediv>
22     <refsynopsisdiv>
23         <title>呼び出し手順</title>
24         <synopsis>unix_s(cmd)</synopsis>
25     </refsynopsisdiv>
26     <refsection>
27         <title>パラメータ</title>
28         <variablelist>
29             <varlistentry>
30                 <term>cmd</term>
31                 <listitem>
32                     <para>文字列</para>
33                 </listitem>
34             </varlistentry>
35         </variablelist>
36     </refsection>
37     <refsection>
38         <title>説明</title>
39         <para>
40             shシェルで実行する文字列 <literal>cmd</literal>を Unixに送信します. 
41             標準出力は /dev/null にリダイレクトされます.
42             Unix実行エラーはトラップされます; *注意* 
43             コマンドのリストを ";" で区切った場合,
44             最後のシェルコマンドエラーのみが
45             リポートされます.これは推奨されません.
46         </para>
47     </refsection>
48     <refsection>
49         <title>例</title>
50         <programlisting role="example"><![CDATA[ 
51 if getos() == 'Windows' then 
52   unix_s("del foo");
53 else 
54   unix_s("rm -f foo"); 
55 end
56  ]]></programlisting>
57     </refsection>
58     <refsection role="see also">
59         <title>参照</title>
60         <simplelist type="inline">
61             <member>
62                 <link linkend="edit">edit</link>
63             </member>
64             <member>
65                 <link linkend="manedit">manedit</link>
66             </member>
67             <member>
68                 <link linkend="unix_g">unix_g</link>
69             </member>
70             <member>
71                 <link linkend="unix_w">unix_w</link>
72             </member>
73             <member>
74                 <link linkend="unix_x">unix_x</link>
75             </member>
76             <member>
77                 <link linkend="unix">unix</link>
78             </member>
79         </simplelist>
80     </refsection>
81 </refentry>