NAME

util - optex utility modules

SYNOPSIS

optex -Mutil

DESCRIPTION

This module sample utility functions for command optex.

Function can be called with option declaration. Parameters for the function are passed by name and value list: name=value. Value 1 is assigned for the name without value.

In this example,

optex -Mutil::function(debug,message=hello,count=3)

option debug has value 1, message has string "hello", and count also has string "3".

FUNCTION

setenv(NAME=VALUE,NAME2=VALUE2,...)

Set environment variable NAME to VALUE, and so on.

chdir(PATH=directory)

Change working directory to directory.