'\" t .\" Title: \fBkjs5\fR .\" Author: Harri Porten .\" Generator: DocBook XSL Stylesheets vsnapshot .\" Date: 2014-05-04 .\" Manual: Programming Tool .\" Source: KDE Frameworks Frameworks 5.0 .\" Language: English .\" .TH "\FBKJS5\FR" "1" "2014\-05\-04" "KDE Frameworks Frameworks 5.0" "Programming Tool" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" kjs5 \- KDE ECMAScript compatible interpreter .SH "SYNOPSIS" .HP \w'\fBkjs5\fR\ 'u \fBkjs5\fR [[\-\-help] | [\-help] | [\-h]] [[\-\-version] | [\-version] | [\-v]] [[\-e\fI\ statement\fR]] [\fIscript\fR] .SH "DESCRIPTION" .PP \fBkjs\fR is KDE ECMAScript/JavaScript engine\&. .SH "APPLICATION OPTIONS" .PP \fB\-\-help\fR,\fB\-help\fR,\fB\-h\fR .RS 4 Show \fBkjs5\fR usage\&. .RE .PP \fB\-\-version\fR,\fB\-version\fR,\fB\-v\fR .RS 4 Show \fBkjs5\fR version\&. .RE .PP \fB\-e\fR\fI statement\fR .RS 4 Executes the statement and exits\&. For example: .sp .if n \{\ .RS 4 .\} .nf \fBkjs5\fR \-e "print(\*(Aqhello world\*(Aq)" .fi .if n \{\ .RE .\} .RE .PP \fIscript\fR .RS 4 Executes the statements included in file \fIscript\fR\&. .RE .SH "USAGE" .PP \fBkjs5\fR \fIfile\fR, as many other interpreters, when called without parameters uses a line editor to enter statements, showing the prompt .sp .if n \{\ .RS 4 .\} .nf JS> .fi .if n \{\ .RE .\} .sp To exit the line editor type \fBquit()\fR or press \fBCtrl+D\fR\&. .SH "SEE ALSO" .PP \fIkjscmd5\fR(1) .SH "BUGS" .PP Please use \m[blue]\fBKDE\*(Aqs bugtracker\fR\m[]\&\s-2\u[1]\d\s+2 to report bugs\&. .SH "AUTHOR" .PP \fBHarri Porten\fR <\&porten@kde\&.org\&> .RS 4 Author. .RE .SH "NOTES" .IP " 1." 4 KDE's bugtracker .RS 4 \%http://bugs.kde.org .RE