10.0;eqs (equal_string), revision 1.0, 88/01/21
eqs (equal_string) -- Compare strings for equality.
usage: eqs [string1 [string2]]
DESCRIPTION
eqs compares strings for equality, and sets the abort-severity level
accordingly.
ARGUMENTS
If no arguments are specified, eqs always returns true.
string1 (optional)
Specify text string to test. If this is the only string
given (that is, string2 is not specified), return true if
string1 is empty; otherwise return false.
Default if omitted: return true
string2 (optional)
Specify text string to compare against string1. eqs
returns true if the strings are equal; false if they are
not.
Default if omitted: test string1 only
EXAMPLES
The following shell script compiles the Pascal module named by the first
argument ^1 if the second argument ^2 is -c. Then it binds the module
with library.
if eqs ^2 '-c' then pas ^1 endif
bind ^1.bin library -b ^1
If the second argument is not -c, or if there is no second argument, the
program simply binds the module.