Table of Contents
YCP is a scripting language to be interpreted by the
YCP interpreter) specially designed for
manipulation with a system configuration. Its syntax is very similar
to C programming language.
YCP can make use of the whole infrastructure that
YaST provides, the actions that can be accomplished with
YCP has the usual features of procedural languages and
some more, partially originating from the functional
Control structures like if/then/else, foreach-loops.
Compound data types like strings, lists and maps.
Function definition (procedures)
UNIX command execution (via the YaST infrastructure)
On the following pages we will explore the
YCP language definition and
find out how to use
YCP to write “programs” that can be