vipsi - the friendly vip script interpreter

Functions

Numeric functions

mdate

<number> = Numeric functions: mdatemdate <path>

Instructions: getGet Flow control: if … then
Flow control: try … then
the
modification date of a Text functions: file
Instructions: file
file
Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
directory.

Flow control: returnReturns a numeric Glossary: Valuevalue.

Flow control: if … then
Flow control: try … then
The
path must be a Glossary: text, text_valtext value Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
may be a full Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
partial path 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. Symbolic Text functions: link
Instructions: link
links
are followed. Flow control: if … then
Flow control: try … then
The
path must Numeric functions: existsexist Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
Numeric functions: mdatemdate aborts with an error, which may be caught with Flow control: try … thentry.

Flow control: returnReturns modification time in Greenwich Mean Time UTC+0:00. Flow control: if … then
Flow control: try … then
The
returned time is in seconds Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
is fractional. Flow control: if … then
Flow control: try … then
The
time Integer numbers: Base 256base may vary on different systems. On unix systems it is historically Flow control: if … then
Flow control: try … then
the
time since Jan.01 1970.

Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
Note
: Currently (Version 0.8.7) Flow control: if … then
Flow control: try … then
the
returned time is Flow control: if … then
Flow control: try … then
the
List functions: localslocal time. List functions: thisThis will be fixed. Vipsi command syntax: Functions
Functions
Glossary: Function
Function
Text functions: datestrdatestr also still works with Flow control: if … then
Flow control: try … then
the
List functions: localslocal time, so List functions: thisthis is Operators: Make Identifier "@"at least consistent.

Valid HTML   Valid CSS