License Header change: Removed the LICENSE_END before beta
[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  *
15  -->
16 <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">
17     <refnamediv>
18         <refname>unix_s</refname>
19         <refpurpose>シェル (sh)コマンドを実行, 出力なし</refpurpose>
20     </refnamediv>
21     <refsynopsisdiv>
22         <title>呼び出し手順</title>
23         <synopsis>unix_s(cmd)</synopsis>
24     </refsynopsisdiv>
25     <refsection>
26         <title>パラメータ</title>
27         <variablelist>
28             <varlistentry>
29                 <term>cmd</term>
30                 <listitem>
31                     <para>文字列</para>
32                 </listitem>
33             </varlistentry>
34         </variablelist>
35     </refsection>
36     <refsection>
37         <title>説明</title>
38         <para>
39             shシェルで実行する文字列 <literal>cmd</literal>を Unixに送信します. 
40             標準出力は /dev/null にリダイレクトされます.
41             Unix実行エラーはトラップされます; *注意* 
42             コマンドのリストを ";" で区切った場合,
43             最後のシェルコマンドエラーのみが
44             リポートされます.これは推奨されません.
45         </para>
46     </refsection>
47     <refsection>
48         <title>例</title>
49         <programlisting role="example"><![CDATA[ 
50 if getos() == 'Windows' then 
51   unix_s("del foo");
52 else 
53   unix_s("rm -f foo"); 
54 end
55  ]]></programlisting>
56     </refsection>
57     <refsection role="see also">
58         <title>参照</title>
59         <simplelist type="inline">
60             <member>
61                 <link linkend="edit">edit</link>
62             </member>
63             <member>
64                 <link linkend="manedit">manedit</link>
65             </member>
66             <member>
67                 <link linkend="unix_g">unix_g</link>
68             </member>
69             <member>
70                 <link linkend="unix_w">unix_w</link>
71             </member>
72             <member>
73                 <link linkend="unix_x">unix_x</link>
74             </member>
75             <member>
76                 <link linkend="unix">unix</link>
77             </member>
78         </simplelist>
79     </refsection>
80 </refentry>