vipsi - the friendly vip script interpreter

Shell Immediate Commands

When you start vipsi in Modes of Operation: Interactive Shellinteractive shell mode (by just typing vipsi without a Example Scripts: CGI Scripts
Example Scripts: Scripts
script
to execute), Flow control: if … then
Flow control: try … then
then
vipsi interprets some Vipsi command syntax: Instructions
Instructions
Glossary: Instruction
instructions
slightly different Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
offers some more. These are purely intended for beautified display Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
ease-of-use Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
are Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
not
part of Flow control: if … then
Flow control: try … then
the
vip Example Scripts: CGI Scripts
Example Scripts: Scripts
script
language.

Shell Immediate Commands
Invariants: Shell immediate commands
Shell immediate commands
are only recognized as Shell Immediate Commands
Invariants: Shell immediate commands
shell immediate commands
, Flow control: if … thenif they are written Operators: Make Identifier "@"at Flow control: if … then
Flow control: try … then
the
very beginning of Flow control: if … then
Flow control: try … then
the
command line. List functions: thisThis is intended, as they are just a quirk. I even consider Flow control: if … then
Flow control: try … then
them
more as a kludge. B-)

Auto-magical printing of results

Additionally may be noted here, that Flow control: if … then
Flow control: try … then
the
vipsi shell prints results as they ocure, e.g. you can display Flow control: if … then
Flow control: try … then
the
contents of Glossary: Variable, var_refvariable foo by just typing:

vipsi> foo  "bar"

List functions: thisThis will print it's result, regardless whether it's numeric, Data Types: Text
Item selector "[]": Text
Glossary: text, text_val
text
, a Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
even a Vipsi command syntax: Procedures
Data Types: Procedures
Glossary: Procedure
procedure
.

From within a Example Scripts: CGI Scripts
Example Scripts: Scripts
script
there is no such magic as provided by Flow control: if … then
Flow control: try … then
the
vipsi shell, Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
any Vipsi command syntax: Expressions
Glossary: Expression
expression
which happens to yield a result which no Vipsi command syntax: Instructions
Instructions
Glossary: Instruction
instruction
is interesting in is just discarded. Flow control: if … thenIf you want to print Flow control: if … then
Flow control: try … then
the
contents of a Glossary: Variable, var_refvariable foo, from within a Example Scripts: CGI Scripts
Example Scripts: Scripts
script
, you must use:

Instructions: putput foo

Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
Or
even more sophisticated:

Flow control: if … thenif Numeric functions: istextistext(foo)
    Instructions: putput Text functions: convert
Instructions: convert
convert
(foo to quoted) Flow control: if … then
Flow control: try … then
else
Instructions: putput foo Flow control: if … then
Flow control: try … then
then

Because Instructions: putput foo will Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
not
quote Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
escape Data Types: Text
Item selector "[]": Text
Glossary: text, text_val
texts
, but print Flow control: if … then
Flow control: try … then
them
'as is'.

In Flow control: if … then
Flow control: try … then
the
shell you'd probably inspect Flow control: if … then
Flow control: try … then
the
Glossary: Variable, var_refvariable type with one Vipsi command syntax: Instructions
Instructions
Glossary: Instruction
instruction
Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
simply use Flow control: if … then
Flow control: try … then
the
appropriate version in Flow control: if … then
Flow control: try … then
the
Flow control: nextnext command, without Flow control: if … then
Flow control: try … then
the
look-ahead thinking Flow control: if … thenif .. Flow control: if … then
Flow control: try … then
then
:

vipsi> Numeric functions: istextistext foo  0
vipsi> Instructions: putput foo  4711
vipsi>  

Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
Note
: though Flow control: if … then
Flow control: try … then
the
Operators: Assignment "="
Built-in operators: Assignments:
assignment
operator Flow control: returnreturns a result (Flow control: if … then
Flow control: try … then
the
Instructions: newnew Glossary: Valuevalue of Flow control: if … then
Flow control: try … then
the
Glossary: Variable, var_refvariable) List functions: thisthis result is Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
not
automagically printed in Modes of Operation: Interactive Shellinteractive shell mode. List functions: thisthis is done because Operators: Assignment "="
Built-in operators: Assignments:
assignments
Flow control: do … loopdo Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
not
start with a special Vipsi command syntax: Instructions
Instructions
Glossary: Instruction
instruction
which "eats" Flow control: if … then
Flow control: try … then
the
result Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
so Flow control: if … then
Flow control: try … then
the
result would be printed every time you make an Operators: Assignment "="
Built-in operators: Assignments:
assignment
. You probably know which Glossary: Valuevalue you have just assigned.

cd

Instructions: cd
Shell Immediate Commands: cd
cd
Instructions: newnew/working/List functions: dir
Instructions: dir
Shell Immediate Commands: dir
dir

Change working directory.

List functions: thisThis shell command Flow control: do … loopdoes Flow control: if … then
Flow control: try … then
the
same as Flow control: if … then
Flow control: try … then
the
Vipsi command syntax: Instructions
Instructions
Glossary: Instruction
instruction
Instructions: cd
Shell Immediate Commands: cd
cd
.

Flow control: if … then
Flow control: try … then
The
only difference is that Flow control: if … then
Flow control: try … then
the
path can optionally be given with no quotes. Flow control: if … thenIf it is a Data Types: Text
Item selector "[]": Text
Glossary: text, text_val
text
Vipsi command syntax: Expressions
Glossary: Expression
expression
Flow control: if … then
Flow control: try … then
then
Flow control: if … then
Flow control: try … then
the
real Instructions: cd
Shell Immediate Commands: cd
cd
Vipsi command syntax: Instructions
Instructions
Glossary: Instruction
instruction
is executed.

vipsi> Instructions: cd
Shell Immediate Commands: cd
cd
..
vipsi> Instructions: cd
Shell Immediate Commands: cd
cd
"~"
vipsi>

dir

List functions: dir
Instructions: dir
Shell Immediate Commands: dir
dir
<text> List functions: dir
Instructions: dir
Shell Immediate Commands: dir
dir
unquoted path

Display a beautified Online Chat: Listings
Search Site: Listing
Print Environment: Listing
Online Z80 Assembler: Listing
Show Beautified Folder Listings: Listing
Sort-of-a Shell: Listing
Factorial "!": Listing
Prime Factor Factorizing: Listing
Speedometer: Listing
VIP Script Test Suite: Listing
listing
of Flow control: if … then
Flow control: try … then
the
directory Operators: Make Identifier "@"at Text functions: file
Instructions: file
file
system position <text>. Flow control: if … then
Flow control: try … then
The
Data Types: Text
Item selector "[]": Text
Glossary: text, text_val
text
may be a standard vip Example Scripts: CGI Scripts
Example Scripts: Scripts
script
Data Types: Text
Item selector "[]": Text
Glossary: text, text_val
text
Vipsi command syntax: Expressions
Glossary: Expression
expression
Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
, for your convenience only, an unquoted path. Flow control: if … then
Flow control: try … then
The
path may be full Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
partial Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
start with ~ for Flow control: if … then
Flow control: try … then
the
user's home directory Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
may contain a Numeric functions: matchmatch pattern with Operators: Multiply "*"wildcards for Text functions: file
Instructions: file
files
to Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
.

Displayed dir: lengthlength is in bytes for Text functions: file
Instructions: file
files
Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
Glossary: number, num_valnumber of entries for directories. Symbolic Text functions: link
Instructions: link
links
are dereferenced prior to Online Chat: Listings
Search Site: Listing
Print Environment: Listing
Online Z80 Assembler: Listing
Show Beautified Folder Listings: Listing
Sort-of-a Shell: Listing
Factorial "!": Listing
Prime Factor Factorizing: Listing
Speedometer: Listing
VIP Script Test Suite: Listing
listing
.

dir: flagsflags[1] is 'd' for directories Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
'l' for symbolic Text functions: link
Instructions: link
links
.

Flow control: if … thenIf you pass an empty Data Types: Text
Item selector "[]": Text
Glossary: text, text_val
text
"" to List functions: dir
Instructions: dir
Shell Immediate Commands: dir
dir
, Flow control: if … then
Flow control: try … then
then
a Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
of mounted devices
is printed. Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
Not
all information can currently be deduced on all systems. List functions: thisThis feature will probably be moved into a separate Vipsi command syntax: Functions
Functions
Glossary: Function
function
in Flow control: if … then
Flow control: try … then
the
near future.

There is also an Vipsi command syntax: Instructions
Instructions
Glossary: Instruction
instruction
List functions: dir
Instructions: dir
Shell Immediate Commands: dir
dir
, which creates a directory Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
a Vipsi command syntax: Functions
Functions
Glossary: Function
function
List functions: dir
Instructions: dir
Shell Immediate Commands: dir
dir
, which Flow control: returnreturns a Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
of Flow control: if … then
Flow control: try … then
the
dirctory contents.

vipsi> List functions: dir
Instructions: dir
Shell Immediate Commands: dir
dir
"./Instructions: var
How does VScript::Value() work?: Var*&
var
*"
Folder unix/Instructions: var
How does VScript::Value() work?: Var*&
var
* 35.882 GB free Text functions: file
Instructions: file
file
Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
folder Vipsi command syntax: Identifiers (names)
Identifiers, names
Operators: Make Identifier "@"
Text functions: name
Glossary: Name, Identifier
name
dir: flagsflags dir: lengthlength modified ------------------------------- ---- ---------- ------------------- Instructions: var
How does VScript::Value() work?: Var*&
var
.o -rw- 51072 2003-10-20 20:02:52 var_test_suite.o -rw- 87544 2003-10-20 20:02:52 vipsi> List functions: dir
Instructions: dir
Shell Immediate Commands: dir
dir
""
Host: vanilla; User: kio(no group); SysLoad: 0.09,0.13,0.10 Time: 2003-10-20 20:33:07; Booted: 2003-10-20 17:02:38 (3h:30m:29s); volume Vipsi command syntax: Identifiers (names)
Identifiers, names
Operators: Make Identifier "@"
Text functions: name
Glossary: Name, Identifier
name
dir: flagsflags free modified ------------------------------- ---- ---------- ------------------- / drwx 4.710 GB 2003-10-20 20:26:17 /home drwx 41.750 GB 2003-10-20 20:25:02 /List functions: localslocal drwx 20.199 GB 2003-10-20 20:26:17 vipsi>

exit, quit, end

Shell Immediate Commands: exit, quit, endQuits Flow control: if … then
Flow control: try … then
the
vipsi shell. For security, these are also only recognized as Shell Immediate Commands
Invariants: Shell immediate commands
shell immediate commands
Flow control: if … thenif they are Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
not
followed by any other Data Types: Text
Item selector "[]": Text
Glossary: text, text_val
text
on Flow control: if … then
Flow control: try … then
the
command line. Flow control: if … then
Flow control: try … then
Else
they are passed to Flow control: if … then
Flow control: try … then
the
Example Scripts: CGI Scripts
Example Scripts: Scripts
script
interpreter which will probably complain with weird error messages.

vipsi> Flow control: exit
Shell Immediate Commands: exit, quit, end
exit
vipsi> Shell Immediate Commands: exit, quit, endquit vipsi> Flow control: end
Shell Immediate Commands: exit, quit, end
end

You can also type <control-d> to Shell Immediate Commands: exit, quit, endquit vipsi Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
, currently as of version 0.8.7, <control-c> is also possible, because Flow control: if … then
Flow control: try … then
the
exception is Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
not
yet trapped, but List functions: thisthis is deprecated, because Flow control: if … then
Flow control: try … then
then
Flow control: if … then
Flow control: try … then
the
terminal settings are Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
not
cleaned up.

Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
Note
, that Flow control: exit
Shell Immediate Commands: exit, quit, end
exit
normally is a Vipsi command syntax: Instructions
Instructions
Glossary: Instruction
instruction
which is used to Flow control: exit
Shell Immediate Commands: exit, quit, end
exit
fom a Flow control: do … loop
Flow control: do … loop
do .. loop
.

Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
And
Flow control: end
Shell Immediate Commands: exit, quit, end
end
normally is a Vipsi command syntax: Instructions
Instructions
Glossary: Instruction
instruction
which optionally takes one Vipsi command syntax: Arguments
Glossary: Arguments
argument
Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
Flow control: returnreturns from Flow control: if … then
Flow control: try … then
the
current Example Scripts: CGI Scripts
Example Scripts: Scripts
script
instance. Normally List functions: thisthis is Flow control: if … then
Flow control: try … then
the
running Example Scripts: CGI Scripts
Example Scripts: Scripts
script
, but you can't "Flow control: returnreturn from Flow control: if … then
Flow control: try … then
the
vipsi shell" with Flow control: if … then
Flow control: try … then
the
Vipsi command syntax: Instructions
Instructions
Glossary: Instruction
instruction
Flow control: end
Shell Immediate Commands: exit, quit, end
end
because Flow control: if … then
Flow control: try … then
the
vipsi shell is Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
not
a running Example Scripts: CGI Scripts
Example Scripts: Scripts
script
(Flow control: if … then
Flow control: try … then
then
you could Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
not
use Shell Immediate Commands
Invariants: Shell immediate commands
shell immediate commands
!) but creates Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
executes an instance for each command line you enter. So

vipsi> Flow control: if … thenif 1 Flow control: end
Shell Immediate Commands: exit, quit, end
end
Flow control: if … then
Flow control: try … then
then
Instructions: putput 22

will just print nothing. But Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
not
Shell Immediate Commands: exit, quit, endquit. Because List functions: thisthis only terminates Flow control: if … then
Flow control: try … then
the
Example Scripts: CGI Scripts
Example Scripts: Scripts
script
instance which was created by Flow control: if … then
Flow control: try … then
the
vipsi shell, which we just Numeric functions: nownow happen to know about, just as it Flow control: do … loopdoes every time when it reaches Flow control: if … then
Flow control: try … then
the
Flow control: end
Shell Immediate Commands: exit, quit, end
end
of Flow control: if … then
Flow control: try … then
the
command line.

In a Example Scripts: CGI Scripts
Example Scripts: Scripts
script
:

Flow control: if … thenif 1 Flow control: end
Shell Immediate Commands: exit, quit, end
end
Flow control: if … then
Flow control: try … then
then
Instructions: putput 22

will also Shell Immediate Commands: exit, quit, endquit Flow control: if … then
Flow control: try … then
the
current Example Scripts: CGI Scripts
Example Scripts: Scripts
script
instance. Flow control: if … thenIf executed in Flow control: if … then
Flow control: try … then
the
originally invoked Example Scripts: CGI Scripts
Example Scripts: Scripts
script
, List functions: thisthis will Flow control: end
Shell Immediate Commands: exit, quit, end
end
Flow control: if … then
Flow control: try … then
the
Example Scripts: CGI Scripts
Example Scripts: Scripts
script
. Flow control: if … thenIf invoked in a Example Scripts: CGI Scripts
Example Scripts: Scripts
script
included by one of Flow control: if … then
Flow control: try … then
the
Vipsi command syntax: Instructions
Instructions
Glossary: Instruction
instructions
Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
Vipsi command syntax: Functions
Functions
Glossary: Function
functions
supplied for List functions: thisthis purpose, like Functions with varying return types: include
Instructions: include
include
Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
Functions with varying return types: call
Instructions: call
call
, List functions: thisthis will only terminate Flow control: if … then
Flow control: try … then
the
included Example Scripts: CGI Scripts
Example Scripts: Scripts
script
. Also, Flow control: if … thenif executed in Functions with varying return types: eval
Instructions: eval
eval
List functions: thisthis only terminates a Operators: Subtract "-"sub instance.

But what Flow control: do … loopdo i talk about List functions: thisthis here. Should go into Flow control: if … then
Flow control: try … then
the
description of Flow control: if … then
Flow control: try … then
the
--> Vipsi command syntax: Instructions
Instructions
Glossary: Instruction
instruction
Flow control: end
Shell Immediate Commands: exit, quit, end
end
.

env

env

Print beautified Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
of process environment Glossary: Variable, var_refvariables.

i> List functions: env
Shell Immediate Commands: env
Shell Immediate Commands: env
env

There is also a Vipsi command syntax: Functions
Functions
Glossary: Function
function
List functions: env
Shell Immediate Commands: env
Shell Immediate Commands: env
env
which Flow control: returnreturns a Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
of named items. You can print Flow control: if … then
Flow control: try … then
the
result of Flow control: if … then
Flow control: try … then
the
Vipsi command syntax: Functions
Functions
Glossary: Function
function
List functions: env
Shell Immediate Commands: env
Shell Immediate Commands: env
env
with:

vipsi> Instructions: putput List functions: env
Shell Immediate Commands: env
Shell Immediate Commands: env
env

globals

List functions: thisThis shell immediate Vipsi command syntax: Instructions
Instructions
Glossary: Instruction
instruction
prints a beautified Online Chat: Listings
Search Site: Listing
Print Environment: Listing
Online Z80 Assembler: Listing
Show Beautified Folder Listings: Listing
Sort-of-a Shell: Listing
Factorial "!": Listing
Prime Factor Factorizing: Listing
Speedometer: Listing
VIP Script Test Suite: Listing
listing
of all List functions: globals
Shell Immediate Commands: globals
global
Glossary: Variable, var_refvariables.
vipsi version 0.8.7: Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
not
too much yet. List functions: thisThis is on Flow control: if … then
Flow control: try … then
the
todo Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
.

vipsi> List functions: globals
Shell Immediate Commands: globals
globals

There is also a Vipsi command syntax: Functions
Functions
Glossary: Function
function
List functions: globals
Shell Immediate Commands: globals
globals
, which Flow control: returnreturns a reference to Flow control: if … then
Flow control: try … then
the
Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
Glossary: Variable, var_refvariable List functions: globals
Shell Immediate Commands: globals
globals
, which contains all Flow control: if … then
Flow control: try … then
the
List functions: globals
Shell Immediate Commands: globals
global
Glossary: Variable, var_refvariables:

vipsi> ;List functions: globals
Shell Immediate Commands: globals
globals
// Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
note
Flow control: if … then
Flow control: try … then
the
";"
vipsi> List functions: globals
Shell Immediate Commands: globals
globals
// Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
note
Flow control: if … then
Flow control: try … then
the
" "
vipsi> Instructions: putput List functions: globals
Shell Immediate Commands: globals
globals
// just as in a Example Scripts: CGI Scripts
Example Scripts: Scripts
script

info

Prints information on a built-in List functions: words
Shell Immediate Commands: words
word
Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
a defined Glossary: Variable, var_refvariable. Flow control: if … then
Flow control: try … then
The
List functions: words
Shell Immediate Commands: words
word
to query must be written verbatim, Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
not
in quotes Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
Flow control: if … then
Flow control: try … then
the
like.

vipsi> Text functions: info
Shell Immediate Commands: info
info
Flow control: do … loopdo
syntax: Flow control: do … loop
Flow control: do … loop
do … loop
repeat Vipsi command syntax: Statements
Glossary: Statement
statements
between Flow control: do … loopdo Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
Flow control: do … looploop. e.g.: Instructions: var
How does VScript::Value() work?: Var*&
var
i=1; Flow control: do … loopdo; Instructions: putput i; Flow control: whilewhile i<10; i++; Flow control: do … looploop; vipsi>

There is also a Vipsi command syntax: Functions
Functions
Glossary: Function
function
Text functions: info
Shell Immediate Commands: info
info
which Flow control: returnreturns a Data Types: Text
Item selector "[]": Text
Glossary: text, text_val
text
.

pwd

Prints Flow control: if … then
Flow control: try … then
the
full path of Flow control: if … then
Flow control: try … then
the
current working directory.

vipsi> Shell Immediate Commands: pwdpwd

In a Example Scripts: CGI Scripts
Example Scripts: Scripts
script
there is no such Vipsi command syntax: Instructions
Instructions
Glossary: Instruction
instruction
Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
you would probably use:

Instructions: putput Text functions: fullpathfullpath(".")
/mnt/eden/pub/Develop/projects/vipsi/unix

words

Print a beautified Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
of all built-in List functions: words
Shell Immediate Commands: words
words
.

vipsi> List functions: words
Shell Immediate Commands: words
words
_____________________________________________________________________________ Separatorsseparators: , ( ) [ ] { } Add "+": Monadic operator "+"
Subtract "-": Monadic operator "-"
Built-in operators: monadic operators:
monadic operators
: ++ -- Operators and Functions with Side Effects: Assignment operators = += -= *= /= %= #= ##= etc.assignment operators: = += -= *= /= %= #= >>= <<= &&= ||= ^= &= |= ##= other diadic Vipsi command syntax: Operators
Operators
Glossary: Operator
operators
: + - * / % # ## > < >= <= == != << >> && || & | ^ . Operators: Select "? :"triadic operators: ? : Constants
Glossary: Constant
constants
: Constants: ecec Constants: pipi Constants: nlnl Constants: tabtab Constants: stdinstdin Constants: stdoutstdout Constants: stderrstderr Vipsi command syntax: Functions
Functions
Glossary: Function
functions
: ! ~ @ Text functions: file
Instructions: file
file
List functions: dir
Instructions: dir
Shell Immediate Commands: dir
dir
Text functions: link
Instructions: link
link
pipe sock Numeric functions: mdatemdate Numeric functions: countcount Numeric functions: indexindex Vipsi command syntax: Identifiers (names)
Identifiers, names
Operators: Make Identifier "@"
Text functions: name
Glossary: Name, Identifier
name
Numeric functions: randomrandom Numeric functions: absabs Numeric functions: signsign Numeric functions: intint Numeric functions: fractfract Numeric functions: roundround Numeric functions: minmin Numeric functions: maxmax Numeric functions: coscos Numeric functions: sinsin Numeric functions: tantan Numeric functions: acosacos Numeric functions: asinasin Numeric functions: atanatan Numeric functions: coshcosh Numeric functions: sinhsinh Numeric functions: tanhtanh logn Numeric functions: log2log2 Numeric functions: log
Numeric functions: loge
Instructions: log
loge
Numeric functions: log10log10 Numeric functions: exp
Numeric functions: expe
exp
Numeric functions: exp2exp2 Numeric functions: exp
Numeric functions: expe
expe
Numeric functions: exp10exp10 Numeric functions: squaresquare Numeric functions: sqrtsqrt Numeric functions: istextistext Numeric functions: isnumberisnumber Numeric functions: islistislist Numeric functions: isprocisproc Numeric functions: isfileisfile Numeric functions: isdirisdir Numeric functions: islinkislink Numeric functions: existsexists Data Types: Text
Text functions: string
string
Text functions: upperstrupperstr Text functions: lowerstrlowerstr Text functions: spacestrspacestr Text functions: charstrcharstr Numeric functions: charcodecharcode Text functions: hexstrhexstr Text functions: binstrbinstr Text functions: substrsubstr Text functions: midstrmidstr Text functions: leftstrleftstr Text functions: rightstrrightstr Text functions: datestrdatestr Numeric functions: nownow Numeric functions: datevaldateval Numeric functions: findfind Numeric functions: rfindrfind List functions: env
Shell Immediate Commands: env
Shell Immediate Commands: env
env
List functions: words
Shell Immediate Commands: words
words
Text functions: info
Shell Immediate Commands: info
info
List functions: globals
Shell Immediate Commands: globals
globals
List functions: localslocals List functions: thisthis Numeric functions: matchmatch Text functions: fullpathfullpath Vipsi command syntax: Instructions
Instructions
Glossary: Instruction
instructions
: Functions with varying return types: eval
Instructions: eval
eval
Functions with varying return types: call
Instructions: call
call
Text functions: sys
Instructions: sys
sys
Functions with varying return types: include
Instructions: include
include
Instructions: requirerequire List functions: split
Instructions: split
split
Text functions: convert
Instructions: convert
convert
Text functions: replace
Instructions: replace
replace
Instructions: newnew Instructions: deldel Instructions: swapswap Instructions: var
How does VScript::Value() work?: Var*&
var
Instructions: freezefreeze Instructions: meltmelt Instructions: putput Numeric functions: log
Numeric functions: loge
Instructions: log
log
Instructions: getget Instructions: editedit Instructions: getchargetchar Instructions: writewrite Instructions: readread Functions with varying return types: ioctl
Instructions: ioctl
ioctl
Instructions: waitwait Instructions: sortsort Instructions: rsortrsort Instructions: openopen Instructions: openinopenin Instructions: openoutopenout Instructions: closeclose Instructions: renamerename ; Instructions: cd
Shell Immediate Commands: cd
cd
Vipsi command syntax: Flow control
Flow control
flow control
: Instructions: procproc Flow control: returnreturn Flow control: end
Shell Immediate Commands: exit, quit, end
end
Flow control: do … loopdo Flow control: if … then
Flow control: try … then
then
Flow control: if … thenif Flow control: if … then
Flow control: try … then
else
Flow control: if … thenelif Flow control: try … thentry Flow control: whilewhile Flow control: untiluntil Flow control: exit
Shell Immediate Commands: exit, quit, end
exit
Flow control: nextnext Flow control: do … looploop Shell Immediate Commands
Invariants: Shell immediate commands
shell immediate commands
: List functions: globals
Shell Immediate Commands: globals
globals
List functions: words
Shell Immediate Commands: words
words
Text functions: info
Shell Immediate Commands: info
info
Shell Immediate Commands: pwdpwd Instructions: cd
Shell Immediate Commands: cd
cd
List functions: dir
Instructions: dir
Shell Immediate Commands: dir
dir
List functions: env
Shell Immediate Commands: env
Shell Immediate Commands: env
env
Shell Immediate Commands: exit, quit, endexit quit end vipsi>

There is also a Vipsi command syntax: Functions
Functions
Glossary: Function
function
List functions: words
Shell Immediate Commands: words
words
which Flow control: returnreturns a Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
with vipsi - the friendly one.: The namethe names of all built-in List functions: words
Shell Immediate Commands: words
words
. Flow control: if … thenIf you want to see List functions: thisthis Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
on Flow control: if … then
Flow control: try … then
the
command line, you should use:

vipsi> Instructions: putput List functions: words
Shell Immediate Commands: words
words

Valid HTML   Valid CSS