Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ valtools(1) — DG/UX 5.4R3.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sh(1)

ckdate(1)

ckgid(1)

ckint(1)

ckitem(1)

ckkeywd(1)

ckpath(1)

ckrange(1)

ckstr(1)

cktime(1)

ckuid(1)

ckyorn(1)



valtools(1)                    DG/UX 5.4R3.00                    valtools(1)


NAME
       valtools - introduction to validation tools

DESCRIPTION
       The valtool commands are generally used in shell programming.  These
       commands will prompt for and validate user input.  They generally
       define, among other things, a prompt message, text for help and error
       messages, and a default value (which will be returned if the user
       responds with a carriage return).  All valtool commands begin with a
       ck prefix.

       Visual tool modules are generally linked to the valtool commands.
       They have err (which formats and displays an error message), help
       (which formats and displays a help message), and val (which validates
       a response) prefixes.  For example, the ckpath(1) command has the
       following links: errpath, helppath, and valpath, which are used to
       display an error message, help message, and validate a path.

       The following is a list of the available valtool commands with a
       short description:

       ckdate    prompt for, validate and return a date in the specified
                 format.

       ckgid     prompt for, validate and return an existing group name.

       ckint     prompt for, validate and return an integer value.

       ckitem    build a menu; prompt for, validate and return a menu item.

       ckkeywd   prompt for, validate and return a keyword from a list of
                 specified keywords.

       ckpath    prompt for, validate and return a pathname that meets the
                 specified criteria.

       ckrange   prompt for, validate and return an integer value between
                 lower and upper bounds.

       ckstr     prompt for, validate and return a string that matches a
                 regular expression.

       cktime    prompt for, validate and return a time value in the
                 specified format.

       ckuid     prompt for, validate and return an existing user login
                 name.

       ckyorn    prompt for, validate and return a yes or no value.

EXIT CODES
       All valtool commands exit with code 0 upon successful execution.





Licensed material--property of copyright holder(s)                         1




valtools(1)                    DG/UX 5.4R3.00                    valtools(1)


SEE ALSO
       sh(1), ckdate(1), ckgid(1), ckint(1), ckitem(1), ckkeywd(1),
       ckpath(1), ckrange(1), ckstr(1), cktime(1), ckuid(1), ckyorn(1).






















































Licensed material--property of copyright holder(s)                         2


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026