[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ] Assignment Options

You can set any radtest variable from the command line. There are two ways of doing so.

First, you can use variable assignment option--assign’ (or ‘-a’). Its syntax is:

--assign variable=text
-a variable=text

For example:

radtest -a foobar=5

Another way is useful when you load a radtest program by ‘--file’ or ‘-f’. This second way consists in including a variable assignment in the form


in the command line after the script name. For example:

radtest -f myprog.rad foo=5 addr=

This method is especially useful for executable scripts that are run using #! shell magic. Consider a simple script:

#! /usr/local/bin/radtest -f
print $addr

The value of addr can be given to the script from the command line as in the example below:

myprog.rad addr=

This document was generated by Sergey Poznyakoff on December, 6 2008 using texi2html 1.78.