Server IP : 68.65.122.142  /  Your IP : 3.23.101.60
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) :  /var/../sbin/../share/locale/sv/../el_GR/../kaa/../rue/../de-CH/../bad/../ie/../../awk/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //var/../sbin/../share/locale/sv/../el_GR/../kaa/../rue/../de-CH/../bad/../ie/../../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
}