src/solaris/doc/sun/man/man1/ja/jrunscript.1
author ssadetsky
Mon, 16 Oct 2017 08:06:56 -0700
changeset 47387 4d711a58bb3b
parent 47216 71c04702a3d5
permissions -rw-r--r--
8180821: [macosx]com/apple/laf/ScreenMenu/ScreenMenuMemoryLeakTest.java: The menu item should have been GC-ed Reviewed-by: prr, psadhukhan
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
     1
'\" t
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
     2
.\" Copyright (c) 2006, 2014, Oracle and/or its affiliates. All rights reserved.
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
     3
.\" DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
     4
.\"
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
     5
.\" This code is free software; you can redistribute it and/or modify it
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
     6
.\" under the terms of the GNU General Public License version 2 only, as
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
     7
.\" published by the Free Software Foundation.
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
     8
.\"
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
     9
.\" This code is distributed in the hope that it will be useful, but WITHOUT
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    10
.\" ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    11
.\" FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    12
.\" version 2 for more details (a copy is included in the LICENSE file that
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    13
.\" accompanied this code).
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    14
.\"
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    15
.\" You should have received a copy of the GNU General Public License version
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    16
.\" 2 along with this work; if not, write to the Free Software Foundation,
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    17
.\" Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    18
.\"
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    19
.\" Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    20
.\" or visit www.oracle.com if you need additional information or have any
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    21
.\" questions.
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    22
.\"
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    23
.\" Title: jrunscript
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    24
.\" Language: Japanese
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    25
.\" Date: 2013年11月21日
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    26
.\" SectDesc: スクリプティング・ツール
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    27
.\" Software: JDK 8
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    28
.\" Arch: 汎用
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    29
.\" Part Number: E58103-01
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    30
.\" Doc ID: JSSON
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    31
.\"
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    32
.if n .pl 99999
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    33
.TH "jrunscript" "1" "2013年11月21日" "JDK 8" "スクリプティング・ツール"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    34
.\" -----------------------------------------------------------------
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    35
.\" * Define some portability stuff
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    36
.\" -----------------------------------------------------------------
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    37
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    38
.\" http://bugs.debian.org/507673
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    39
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    40
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    41
.ie \n(.g .ds Aq \(aq
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    42
.el       .ds Aq '
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    43
.\" -----------------------------------------------------------------
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    44
.\" * set default formatting
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    45
.\" -----------------------------------------------------------------
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    46
.\" disable hyphenation
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    47
.nh
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    48
.\" disable justification (adjust text to left margin only)
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    49
.ad l
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    50
.\" -----------------------------------------------------------------
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    51
.\" * MAIN CONTENT STARTS HERE *
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    52
.\" -----------------------------------------------------------------
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    53
.SH "名前"
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    54
jrunscript \- 対話型モードとバッチ・モードをサポートするコマンド行スクリプト・シェルを実行します。このコマンドは試験的なもので、サポートされていません。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    55
.SH "概要"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    56
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    57
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    58
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    59
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    60
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    61
\fBjrunscript\fR [\fIoptions\fR] [\fIarguments\fR]
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    62
.fi
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    63
.if n \{\
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    64
.RE
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    65
.\}
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    66
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    67
\fIoptions\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    68
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    69
コマンド行オプション。オプションを参照してください。
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
    70
.RE
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    71
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    72
\fIarguments\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    73
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    74
引数を使用する場合、オプションまたはコマンド名の直後に記述してください。引数を参照してください。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    75
.RE
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    76
.SH "説明"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    77
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    78
\fBjrunscript\fRコマンドは、言語に依存しないコマンド行スクリプト・シェルです。\fBjrunscript\fRは、対話型(read\-eval\-print)モードとバッチ(\fB\-f\fRオプション)・モードの両方のスクリプト実行をサポートします。デフォルトの使用言語はJavaScriptですが、\fB\-l\fRオプションを使用すれば他の言語も指定できます。\fBjrunscript\fRコマンドは、Javaとスクリプト言語との通信を使用して探求的なプログラミング・スタイルをサポートします。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    79
.SH "オプション"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    80
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    81
\-classpath \fIpath\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    82
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    83
スクリプトがアクセスする必要のあるクラス・ファイルの場所を示します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    84
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    85
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    86
\-cp \fIpath\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    87
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    88
\fB\-classpath\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    89
\fIpath\fRと同じです。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    90
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    91
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    92
\-D\fIname\fR=\fIvalue\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    93
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    94
Javaのシステム・プロパティを設定します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    95
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    96
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    97
\-J\fIflag\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
    98
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
    99
\fBflag\fRを、\fBjrunscript\fRコマンドが実行されているJava仮想マシンに直接渡します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   100
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   101
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   102
\-I \fIlanguage\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   103
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   104
指定されたスクリプト言語を使用します。デフォルトではJavaScriptが使用されます。他のスクリプト言語を使用するには、\fB\-cp\fRまたは\fB\-classpath\fRオプションを使用して、対応するスクリプト・エンジンのJARファイルを指定する必要があります。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   105
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   106
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   107
\-e \fIscript\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   108
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   109
指定されたスクリプトを評価します。このオプションを使用すれば、コマンド行にすべてが指定された1行スクリプトを実行できます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   110
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   111
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   112
\-encoding \fIencoding\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   113
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   114
スクリプト・ファイルの読取り時に使用する文字エンコーディングを指定します。
2692
345bc8d65b19 6837214: Update JDK7 man pages
tbell
parents: 2
diff changeset
   115
.RE
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   116
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   117
\-f \fIscript\-file\fR
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   118
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   119
指定されたスクリプト・ファイル(バッチ・モード)を評価します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   120
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   121
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   122
\-f \-
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   123
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   124
標準入力からスクリプトを読み取り、それを評価します(対話型モード)。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   125
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   126
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   127
\-help
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   128
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   129
ヘルプ・メッセージを表示して終了します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   130
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   131
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   132
\-?
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   133
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   134
ヘルプ・メッセージを表示して終了します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   135
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   136
.PP
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   137
\-q
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   138
.RS 4
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   139
利用可能なすべてのスクリプト・エンジンを一覧表示したあと、終了します。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   140
.RE
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   141
.SH "引数"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   142
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   143
argumentsが存在していて、かつ\fB\-e\fR、\fB\-f\fRのいずれのオプションも使用されなかった場合、最初の引数がスクリプト・ファイルとなり、他の引数が存在する場合はスクリプトに渡されます。argumentsと、\fB\-e\fRまたは\fB\-f\fRオプションが使用されている場合、すべてのargumentsがスクリプトに渡されます。arguments、\fB\-e\fR、\fB\-f\fRがどれも存在しなかった場合は、対話型モードが使用されます。スクリプトからスクリプト引数を使用するには、\fBarguments\fRという名前の\fBString\fR配列型のエンジン変数を使用します。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   144
.SH "例"
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   145
.SS "インライン・スクリプトの実行"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   146
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   147
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   148
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   149
.\}
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   151
\fBjrunscript \-e "print(\*(Aqhello world\*(Aq)"\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   152
\fBjrunscript \-e "cat(\*(Aqhttp://www\&.example\&.com\*(Aq)"\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   153
 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
.fi
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   155
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   156
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   157
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   158
.SS "指定された言語の使用およびスクリプト・ファイルの評価"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   159
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   160
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   161
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   162
.\}
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   164
\fBjrunscript \-l js \-f test\&.js\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   165
 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
.fi
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   167
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   168
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   169
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   170
.SS "対話型モード"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   171
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   172
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   173
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   174
.\}
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   176
\fBjrunscript\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   177
\fBjs> print(\*(AqHello World\en\*(Aq);\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   178
\fBHello World\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   179
\fBjs> 34 + 55\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   180
\fB89\&.0\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   181
\fBjs> t = new java\&.lang\&.Thread(function() { print(\*(AqHello World\en\*(Aq); })\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   182
\fBThread[Thread\-0,5,main]\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   183
\fBjs> t\&.start()\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   184
\fBjs> Hello World\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   185
\fB \fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   186
\fBjs>\fR
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   187
 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
.fi
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   189
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   190
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   191
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   192
.SS "スクリプト引数を指定したスクリプト・ファイルの実行"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   193
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   194
test\&.jsファイルはスクリプト・ファイルです。\fBarg1\fR、\fBarg2\fRおよび\fBarg3\fRの各引数がスクリプトに渡されます。スクリプトはarguments配列を使用してこれらの引数にアクセスできます。
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   195
.sp
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   196
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   197
.RS 4
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   198
.\}
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
.nf
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   200
\fBjrunscript test\&.js arg1 arg2 arg3\fR
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   201
 
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
.fi
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   203
.if n \{\
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   204
.RE
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   205
.\}
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   206
.SH "関連項目"
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   207
.PP
31876
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   208
JavaScriptを使用している場合、ユーザー定義スクリプトを評価する前に、\fBjrunscript\fRコマンドによって特定の組込み関数およびオブジェクトが初期化されます(これらについては、次のjrunscript JavaScript組込みのAPI仕様に記載されています)。
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   209
.PP
91b22707521a 8131105: Header Template for nroff man pages *.1 files contains errors
mfang
parents: 30373
diff changeset
   210
http://docs\&.oracle\&.com/javase/7/docs/technotes/tools/share/jsdocs/overview\-summary\&.html
23600
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   211
.br
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   212
'pl 8.5i
d21826f6c789 8026570: NLS: jdk8 man page update
mfang
parents: 9566
diff changeset
   213
'bp