Al-HUWAITI Shell
Al-huwaiti


Server : LiteSpeed
System : Linux ncr1.int3rnet.net 4.18.0-553.123.2.lve.el8.x86_64 #1 SMP Thu May 7 23:17:13 UTC 2026 x86_64
User : digitaln ( 1704)
PHP Version : 8.1.34
Disable Function : NONE
Directory :  /proc/thread-self/root/proc/thread-self/root/proc/thread-self/root/usr/share/awk/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/thread-self/root/proc/thread-self/root/proc/thread-self/root/usr/share/awk/bits2str.awk
# bits2str --- turn an integer into readable ones and zeros

function bits2str(bits,        data, mask)
{
    if (bits == 0)
        return "0"

    mask = 1
    for (; bits != 0; bits = rshift(bits, 1))
        data = (and(bits, mask) ? "1" : "0") data

    while ((length(data) % 8) != 0)
        data = "0" data

    return data
}

Al-HUWAITI Shell