.'" t ." ." Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. ." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. ." ." This code is free software; you can redistribute it and/or modify it ." under the terms of the GNU General Public License version 2 only, as ." published by the Free Software Foundation. ." ." This code is distributed in the hope that it will be useful, but WITHOUT ." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ." FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License ." version 2 for more details (a copy is included in the LICENSE file that ." accompanied this code). ." ." You should have received a copy of the GNU General Public License version ." 2 along with this work; if not, write to the Free Software Foundation, ." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. ." ." Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA ." or visit www.oracle.com if you need additional information or have any ." questions. ." ." ` jrunscript - Online Linux Manual PageSection : 1
Updated : 06 Aug 2006
." Generated by html2man
NAMEjrunscript − command line script shell
SYNOPSIS
fljrunscript [ options ] [ arguments... ]
fl.fi
PARAMETERS
options
Options, if used, should follow immediately after the command name. arguments
Arguments, if used, should follow immediately after options or command name.
DESCRIPTIONjrunscript is a command line script shell. jrunscript supports both an interactive (read−eval−print) mode and a batch (−f option) mode of script execution. This is a scripting language independent shell. By default, JavaScript is the language used, but the −l option can be used to specify a different language. Through Java to scripting language communication, jrunscript supports "exploratory programming" style. NOTE: This tool is experimental and may not be available in future versions of the JDK.
OPTIONS−classpath path
Specify where to find the user's .class files that are accessed by the script. −cp path
This is a synonym for −classpath path −Dname=value
Set a Java system property. −J<flag>
Pass <flag> directly to the Java virtual machine on which jrunscript is run. −l language
Use the specified scripting language. By default, JavaScript is used. Note that to use other scripting languages, you also need to specify the corresponding script engine's jar file using −cp or −classpath option. −e script
Evaluate the given script. This option can be used to run "one liner" scripts specified completely on the command line. −encoding encoding
Specify the character encoding used while reading script files. −f script−file
Evaluate the given script file (batch mode). −f −
Read and evaluate a script from standard input (interactive mode). −help
Output help message and exit. −?
Output help message and exit. −q
List all script engines available and exit.
ARGUMENTSIf [arguments...] are present and if no −e or −f option is used, then the first argument is the script file and the rest of the arguments, if any, are passed as script arguments. If [arguments..] and −e or −f option are used, then all [arguments..] are passed as script arguments. If [arguments..], −e and −f are missing, interactive mode is used. Script arguments are available to a script in an engine variable named "arguments" of type String array.
EXAMPLESExecuting inline scripts
fljrunscript −e "print('hello world')"
fljrunscript −e "cat('http://java.sun.com')"
flUse specified language and evaluate given script file
fljrunscript −l js −f test.js
flInteractive mode
fljrunscript
fljs>print('hello world');
flhello world
fljs>34 + 55
fl89
fljs> thread(function() { print('hello world'); }
flhello world
fljs>
flRun script file with script arguments
fljrunscript test.js arg1 arg2 arg3
fltest.js is script file to execute and arg1, arg2 and arg3 are passed to script as script arguments. Script can access these using "arguments" array.
SEE ALSOIf JavaScript is used, then before evaluating any user defined script, jrunscript initializes certain built−in functions and objects. These JavaScript built−ins are documented in jsdocs. 0
Johanes Gumabo
Data Size : 18,894 byte man-jrunscript-java-1.6.0-openjdk.1Build : 2024-12-29, 07:25 :
Visitor Screen : 1280 x 720
Visitor Counter ( page / site ) : 7 / 261,443
Visitor ID : :
Visitor IP : 18.116.24.92 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (parse_manual_page_|252|jrunscript-java-1.6.0-openjdk.1|1|'"|.'" t
) (parse_manual_page_|252|jrunscript-java-1.6.0-openjdk.1|2|"|."
) (parse_manual_page_|252|jrunscript-java-1.6.0-openjdk.1|3|"|." Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
) (parse_manual_page_|252|jrunscript-java-1.6.0-openjdk.1|4|"|." DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
) (parse_manual_page_|252|jrunscript-java-1.6.0-openjdk.1|5|"|."
) (parse_manual_page_|252|jrunscript-java-1.6.0-openjdk.1|6|"|." This code is free software; you can redistribute it and/or modify it
) (parse_manual_page_|252|jrunscript-java-1.6.0-openjdk.1|7|"|." under the terms of the GNU General Public License version 2 only, as
) (parse_manual_page_|252|jrunscript-java-1.6.0-openjdk.1|8|"|." published by the Free Software Foundation.
) (parse_manual_page_|252|jrunscript-java-1.6.0-openjdk.1|9|"|."
) (parse_manual_page_|252|jrunscript-java-1.6.0-openjdk.1|10|"|." This code is distributed in the hope that it will be useful, but WITHOUT
) (parse_manual_page_|252|jrunscript-java-1.6.0-openjdk.1|11|"|." ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
) (parse_manual_page_|252|jrunscript-java-1.6.0-openjdk.1|12|"|." FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
) (parse_manual_page_|252|jrunscript-java-1.6.0-openjdk.1|13|"|." version 2 for more details (a copy is included in the LICENSE file that
) (parse_manual_page_|252|jrunscript-java-1.6.0-openjdk.1|14|"|." accompanied this code).
) (parse_manual_page_|252|jrunscript-java-1.6.0-openjdk.1|15|"|."
) (parse_manual_page_|252|jrunscript-java-1.6.0-openjdk.1|16|"|." You should have received a copy of the GNU General Public License version
) (parse_manual_page_|252|jrunscript-java-1.6.0-openjdk.1|17|"|." 2 along with this work; if not, write to the Free Software Foundation,
) (parse_manual_page_|252|jrunscript-java-1.6.0-openjdk.1|18|"|." Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
) (parse_manual_page_|252|jrunscript-java-1.6.0-openjdk.1|19|"|."
) (parse_manual_page_|252|jrunscript-java-1.6.0-openjdk.1|20|"|." Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
) (parse_manual_page_|252|jrunscript-java-1.6.0-openjdk.1|21|"|." or visit www.oracle.com if you need additional information or have any
) (parse_manual_page_|252|jrunscript-java-1.6.0-openjdk.1|22|"|." questions.
) (parse_manual_page_|252|jrunscript-java-1.6.0-openjdk.1|23|"|."
) (parse_manual_page_|252|jrunscript-java-1.6.0-openjdk.1|24|"|." `
) (parse_manual_page_|252|jrunscript-java-1.6.0-openjdk.1|26|"|." Generated by html2man
)