Server IP : 68.65.122.142  /  Your IP : 52.14.255.122
Web Server : LiteSpeed
System : Linux server167.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User : glenirhm ( 1318)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/share/locale/ja.euc-jp/../ar_DZ/../hy/../su/../den/../tut/../bm/../ar_SY/../../awk/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/share/locale/ja.euc-jp/../ar_DZ/../hy/../su/../den/../tut/../bm/../ar_SY/../../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
}