vipsi - the friendly vip script interpreter

Instructions

log

Numeric functions: log
Numeric functions: loge
Instructions: log
log
<value> Numeric functions: log
Numeric functions: loge
Instructions: log
log
#<number>, <value>

Instructions: writeWrite data in Data Types: Text
Item selector "[]": Text
Glossary: text, text_val
text
format.
Flow control: if … then
Flow control: try … then
The
default stream is Constants: stderrstderr. Flow control: if … then
Flow control: try … then
The
stream may be changed with #<number>.
Default Data Types: Text
Item selector "[]": Text
Glossary: text, text_val
text
encoding is UTF-8 unicode.

Except for Flow control: if … then
Flow control: try … then
the
different standard stream, Numeric functions: log
Numeric functions: loge
Instructions: log
log
works exactly like Instructions: putput.

Data Types: Text
Item selector "[]": Text
Glossary: text, text_val
Text
is written as converted with Vipsi command syntax: Functions
Functions
Glossary: Function
function
Data Types: Text
Text functions: string
string
. That is:

log in the vipsi shell

Numeric functions: log
Numeric functions: loge
Instructions: log
log
is used as an Vipsi command syntax: Instructions
Instructions
Glossary: Instruction
instruction
which prints it's Vipsi command syntax: Arguments
Glossary: Arguments
arguments
to Constants: stderrstderr Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
as a Vipsi command syntax: Functions
Functions
Glossary: Function
function
to calculate Flow control: if … then
Flow control: try … then
the
logarithm of any Glossary: number, num_valnumber to any Integer numbers: Base 256base. Flow control: if … then
Flow control: try … then
The
meaning depends on Flow control: if … then
Flow control: try … then
the
place where Numeric functions: log
Numeric functions: loge
Instructions: log
log
is encountered. Flow control: if … thenIf it occurs Operators: Make Identifier "@"at Flow control: if … then
Flow control: try … then
the
place of an Vipsi command syntax: Instructions
Instructions
Glossary: Instruction
instruction
Flow control: if … then
Flow control: try … then
then
it is Flow control: if … then
Flow control: try … then
the
Vipsi command syntax: Instructions
Instructions
Glossary: Instruction
instruction
Numeric functions: log
Numeric functions: loge
Instructions: log
log
which prints it Vipsi command syntax: Arguments
Glossary: Arguments
arguments
to Constants: stderrstderr. Flow control: if … thenIf it occurs Operators: Make Identifier "@"at Flow control: if … then
Flow control: try … then
the
place of an Vipsi command syntax: Expressions
Glossary: Expression
expression
Flow control: if … then
Flow control: try … then
then
it is Flow control: if … then
Flow control: try … then
the
Vipsi command syntax: Functions
Functions
Glossary: Function
function
Numeric functions: log
Numeric functions: loge
Instructions: log
log
.

Flow control: if … then
Flow control: try … then
The
only place where List functions: thisthis may lead to confusion is Flow control: if … then
Flow control: try … then
the
vipsi shell: Operators: Make Identifier "@"At Flow control: if … then
Flow control: try … then
the
start of Flow control: if … then
Flow control: try … then
the
command line Flow control: if … then
Flow control: try … then
the
parser expects an Vipsi command syntax: Instructions
Instructions
Glossary: Instruction
instruction
. For your convenience it is also possible to just type an Vipsi command syntax: Expressions
Glossary: Expression
expression
Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
Flow control: if … then
Flow control: try … then
the
shell will print Flow control: if … then
Flow control: try … then
the
result. Thus Flow control: if … thenif you just type in

Numeric functions: log
Numeric functions: loge
Instructions: log
log
(2,8)

to see what Flow control: if … then
Flow control: try … then
the
logarithm of 8 to Integer numbers: Base 256base 2 is, Flow control: if … then
Flow control: try … then
then
Flow control: if … then
Flow control: try … then
the
List functions: words
Shell Immediate Commands: words
word
Numeric functions: log
Numeric functions: loge
Instructions: log
log
stands Operators: Make Identifier "@"at Flow control: if … then
Flow control: try … then
the
position of an instruction Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
should be handled as Flow control: if … then
Flow control: try … then
the
Vipsi command syntax: Instructions
Instructions
Glossary: Instruction
instruction
Numeric functions: log
Numeric functions: loge
Instructions: log
log
.

As of version 0.8.8 Flow control: if … then
Flow control: try … then
the
shell has some automagic intelligence to detect List functions: thisthis. Flow control: if … thenIf a command line starts with Numeric functions: log
Numeric functions: loge
Instructions: log
log
Flow control: if … then
Flow control: try … then
then
Flow control: if … then
Flow control: try … then
the
shell inspects Flow control: if … then
Flow control: try … then
the
Flow control: nextnext token. Flow control: if … thenIf it is an opening Separators: Round brackets "( … )"
Functions with varying return types: bracket expression "()"
parenthesis
( Flow control: if … then
Flow control: try … then
then
Flow control: if … then
Flow control: try … then
the
shell defaults to an Vipsi command syntax: Expressions
Glossary: Expression
expression
Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
Numeric functions: log
Numeric functions: loge
Instructions: log
log
will be handled as Flow control: if … then
Flow control: try … then
the
logarithm Vipsi command syntax: Functions
Functions
Glossary: Function
function
. List functions: thisThis is done by silently putting a Instructions: putput Vipsi command syntax: Instructions
Instructions
Glossary: Instruction
instruction
in front of Numeric functions: log
Numeric functions: loge
Instructions: log
log
Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
Flow control: if … then
Flow control: try … then
the
printed result is Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
not
always identical to what would be printed Flow control: if … thenif it was evaluated as an Vipsi command syntax: Expressions
Glossary: Expression
expression
without glue.

Colored text

Data Types: Text
Item selector "[]": Text
Glossary: text, text_val
Text
output to a tty is colorized by vipsi to make it unique for Constants: stdinstdin, Constants: stdoutstdout Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
Constants: stderrstderr:

List functions: thisThis is Data Types: Text
Item selector "[]": Text
Glossary: text, text_val
text
written / echoed to Constants: stdinstdin
List functions: thisThis is Data Types: Text
Item selector "[]": Text
Glossary: text, text_val
text
written to Constants: stdoutstdout
List functions: thisThis is Data Types: Text
Item selector "[]": Text
Glossary: text, text_val
text
written to Constants: stderrstderr

Flow control: if … then
Flow control: try … then
The
color Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
attributes are choosen to hopefully Numeric functions: matchmatch Flow control: if … then
Flow control: try … then
the
capabilities of your terminal Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
can be overridden by Interactive Shell: Preferencespreferences in ~/.vipsi/shell.prefs:

# Interactive Shell: Preferencespreferences for vipsi
# Flow control: if … thenif started in Modes of Operation: Interactive Shellinteractive shell mode

#prompt     vipsi>

# e.g.: normal, black, dark blue, bright_red, bold blue, inverse, bold underline green
stdout_attr
stdin_attr  blue
stderr_attr inverse red

Valid HTML   Valid CSS