Text functions: sys Instructions: syssys <progName>
Text functions: sys Instructions: syssys <progName>, <value> [, ...]
Text functions: sys Instructions: syssys <progName>, <list>
Execute another program.
Flow control: if … then Flow control: try … thenThe Data Types: Text Item selector "[]": Text Glossary: text, text_valtext written to Constants: stderrstderr is immediately written to vipsi's Constants: stderrstderr. Constants: stdinstdin is also left connected to vipsi's Constants: stdinstdin.
Flow control: if … then Flow control: try … thenThe Data Types: Text Item selector "[]": Text Glossary: text, text_valtext written to Constants: stdoutstdout is written to vipsi's Constants: stdoutstdout after Flow control: if … then Flow control: try … thenthe command completes. List functions: thisThis is slightly weird, because List functions: thisthis way output to Constants: stdoutstdout Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and Constants: stderrstderr are Operators: Bitwise Not "~" Operators: Boolean Negation "!"not kept in order Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and may be reviewed some time.
Flow control: if … then Flow control: try … thenThe program Vipsi command syntax: Identifiers (names) Identifiers, names Operators: Make Identifier "@" Text functions: name Glossary: Name, Identifiername, a Glossary: text, text_valtext value, may be given as an absolute Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or relative path Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or only as Flow control: if … then Flow control: try … thenthe command Vipsi command syntax: Identifiers (names) Identifiers, names Operators: Make Identifier "@" Text functions: name Glossary: Name, Identifiername itself, Flow control: if … thenif it can be found traversing Flow control: if … then Flow control: try … thenthe PATH environment Glossary: Variable, var_refvariable. In essence List functions: thisthis means: you can give Flow control: if … then Flow control: try … thenthe program Vipsi command syntax: Identifiers (names) Identifiers, names Operators: Make Identifier "@" Text functions: name Glossary: Name, Identifiername as you would type it on Flow control: if … then Flow control: try … thenthe command line.
Vipsi command syntax: Arguments Glossary: ArgumentsArguments may be either a virtually unlimited Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist of Vipsi command syntax: Arguments Glossary: Argumentsarguments Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or a Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist as a single Vipsi command syntax: Arguments Glossary: Argumentsargument, Flow control: if … then Flow control: try … thenthen Flow control: if … then Flow control: try … thenthe Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist items are taken as Vipsi command syntax: Arguments Glossary: Argumentsarguments for Flow control: if … then Flow control: try … thenthe program.
Any Vipsi command syntax: Arguments Glossary: Argumentsargument is converted Text functions: stringto text before Flow control: if … then Flow control: try … thenthe external program is called, just because only Data Types: Text Item selector "[]": Text Glossary: text, text_valtexts can be passed to other programs.
Operators: Bitwise Not "~" Operators: Boolean Negation "!"Note, that you cannot pass a Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist as a single Vipsi command syntax: Arguments Glossary: Argumentsargument, because Flow control: if … then Flow control: try … thenthen Flow control: if … then Flow control: try … thenthe Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist items would be taken on behalf, as said above.
Also Operators: Bitwise Not "~" Operators: Boolean Negation "!"note, that Operators: Multiply "*"wildcard patterns are Operators: Bitwise Not "~" Operators: Boolean Negation "!"not expanded!
Text functions: sys Instructions: syssys "ls"
Text functions: sys Instructions: syssys "ls", "-lR"
Text functions: sys Instructions: syssys "rm", "anton", "berta"
Text functions: sys Instructions: syssys "rm", { "anton", "berta" }
sys: How to pass a single listHow to pass a single Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist.
Text functions: sys Instructions: syssys "echo", { { "a", "Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist" } }
Text functions: sys Instructions: syssys "echo", Data Types: Text Text functions: stringstring( { "a", "Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist" } )
There is also a Vipsi command syntax: Functions Functions Glossary: Functionfunction Text functions: sys Instructions: syssys which Flow control: returnreturns Flow control: if … then Flow control: try … thenthe Data Types: Text Item selector "[]": Text Glossary: text, text_valtext written to Constants: stdoutstdout.
|