Server IP : 185.61.155.44  /  Your IP : 3.14.134.188
Web Server : LiteSpeed
System : Linux premium145.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : antommvy ( 964)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/share/awk/../locale/szl/../kj/../cop/../lt_LT/../l10n/../sr@latin/../../man/da/../../emacs/../awk/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/share/awk/../locale/szl/../kj/../cop/../lt_LT/../l10n/../sr@latin/../../man/da/../../emacs/../awk/assert.awk
# assert --- assert that a condition is true. Otherwise, exit.

#
# Arnold Robbins, arnold@skeeve.com, Public Domain
# May, 1993

function assert(condition, string)
{
    if (! condition) {
        printf("%s:%d: assertion failed: %s\n",
            FILENAME, FNR, string) > "/dev/stderr"
        _assert_exit = 1
        exit 1
    }
}

END {
    if (_assert_exit)
        exit 1
}