xenv - News: Version 4.1
Version 4.1
Item posted by Sergey Poznyakoff <gray> on Thu Feb 23 13:51:10 2023.
Version 4.1 is available for download. New in this version:
Diagnostic directives: $$warning and $$error
The $$warning directive emits a warning message. It does not alter exit status in any way.
The $$error directive reports a fatal error and sets exit status to 65 (or any other, if supplied as argument).
After both directives, processing is resumed at the next line.
$$exit
New directive $$exit causes immediate termination of the program. Decimal exit code may be supplied as argument.
$$eval
The text between $$eval and $$end is expanded and the resulting expansion is scanned again, producing the actual output. This makes it possible to create variable names on the fly and obtain their values.
Useful in loops, e.g.:
Checksums
Comments:
No messages in Version 4.1