Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"If that makes any sense to you, you have a big problem." -- C. Durance, Computer Science 234


devel / comp.lang.awk / obfuscated AWK code challenge

SubjectAuthor
* obfuscated AWK code challengeRARE Kpop Manifesto
+* Re: obfuscated AWK code challengeJanis Papanagnou
|`* Re: obfuscated AWK code challengeKpop 2GM
| `* Re: obfuscated AWK code challengeKpop 2GM
|  +* Re: obfuscated AWK code challengeJanis Papanagnou
|  |`* Re: obfuscated AWK code challengeKpop 2GM
|  | `* Re: obfuscated AWK code challengeJanis Papanagnou
|  |  `* Re: obfuscated AWK code challengeKpop 2GM
|  |   `* Re: obfuscated AWK code challengeKpop 2GM
|  |    `* Re: obfuscated AWK code challengeKpop 2GM
|  |     +- Re: obfuscated AWK code challengeKpop 2GM
|  |     `- Re: obfuscated AWK code challengeKpop 2GM
|  `* Re: obfuscated AWK code challengepk
|   `* Re: obfuscated AWK code challengeJanis Papanagnou
|    `* Re: obfuscated AWK code challengeKpop 2GM
|     +* Re: obfuscated AWK code challengeKpop 2GM
|     |`- Re: obfuscated AWK code challengeKpop 2GM
|     `* Re: obfuscated AWK code challengeJanis Papanagnou
|      `* Re: obfuscated AWK code challengeKpop 2GM
|       +* Re: obfuscated AWK code challengeKpop 2GM
|       |`- Re: obfuscated AWK code challengeKpop 2GM
|       `* Re: obfuscated AWK code challengeJanis Papanagnou
|        +- Re: obfuscated AWK code challengeKpop 2GM
|        `* Re: obfuscated AWK code challengeKpop 2GM
|         `- Re: obfuscated AWK code challengeKpop 2GM
`- Re: obfuscated AWK code challengeEd Morton

Pages:12
obfuscated AWK code challenge

<db13b117-d555-4dab-885c-a3b706957cb3n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=966&group=comp.lang.awk#966

  copy link   Newsgroups: comp.lang.awk
X-Received: by 2002:a05:622a:1652:: with SMTP id y18mr13481609qtj.63.1640573632522;
Sun, 26 Dec 2021 18:53:52 -0800 (PST)
X-Received: by 2002:a25:aa05:: with SMTP id s5mr7372773ybi.561.1640573632330;
Sun, 26 Dec 2021 18:53:52 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.awk
Date: Sun, 26 Dec 2021 18:53:52 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=2603:7000:3c3d:41c0:0:0:0:637;
posting-account=_YSqtwoAAAC7OokluA8s4cYxY63DyoHQ
NNTP-Posting-Host: 2603:7000:3c3d:41c0:0:0:0:637
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <db13b117-d555-4dab-885c-a3b706957cb3n@googlegroups.com>
Subject: obfuscated AWK code challenge
From: williambruno1975@gmail.com (RARE Kpop Manifesto)
Injection-Date: Mon, 27 Dec 2021 02:53:52 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 29
 by: RARE Kpop Manifesto - Mon, 27 Dec 2021 02:53 UTC

without actually running this code, can you figure out which prime number has been encoded within the input of ASCII letters

[ Mcb ]

plus the trick that allowed me to achieve such a compression ratio.

* The code works equally well in gawk, mawk-1, mawk2, and nawk.
It is ENTIRELY self-encapsulated.

Enjoy !

= === === === === === === === === === === === === =
echo; cmd=' echo Mcb | mawk2 '\''function _________(__,_,___) { (___="bc <<< \"obase="(_*=_^=_+=++_)"; "(__)" ;\"")|getline _; close(___); return _ } BEGIN {_____="%c";for(_-=(___-=(_=(_*=_*=_*=_+=++_)))^!_;-""<=_;_--) {__[sprintf(_____,___-+-_)]=_}; for(_ in __) { __[_] } } {____=+""; for(_=_____=length($(____));_;_--) { ___=__[substr($(____),_,!!_)]___ }; ______=___%(_____=((!-"")(-""))^(_____*=(_^=_=-"")^-!-""));_______=int(___/_____);___="%*.f"; ________=sprintf((___"_")___,--_______,!_,--______+-+_______,!___); gsub(/[^_]/,_^!_,________); sub(/[_]/,+"",________); sub(/..$/,"",_____);_____+=_="";_+=_^=_; printf(" log-base-"(_)" :: %."(_^_^_)"g%c%c %c digits in decimal :: %d%c%c 0x %s%c%c",log(_)^(_/-_)*(log((".")(________))+log(_____)*(___=length(________))), _____, _____,_^_*_____-_^-!!_*_____,___,_____,_____, _________(________), _____,_____); system("openssl prime -checks "(_+=_*=(_^=_)*_)" "(________)) }'\'' '; gprintf '\n%s\n\n' "${cmd}" ; echo; eval "${cmd}"

Re: obfuscated AWK code challenge

<sqc2tq$jf6$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=967&group=comp.lang.awk#967

  copy link   Newsgroups: comp.lang.awk
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: janis_papanagnou@hotmail.com (Janis Papanagnou)
Newsgroups: comp.lang.awk
Subject: Re: obfuscated AWK code challenge
Date: Mon, 27 Dec 2021 11:01:30 +0100
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <sqc2tq$jf6$1@dont-email.me>
References: <db13b117-d555-4dab-885c-a3b706957cb3n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 27 Dec 2021 10:01:30 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="5d001ba20e4d055c18e6e6107730c9f3";
logging-data="19942"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+5ua3lwZApNppq6iECmEnJ"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:4wLXvRHbkEuY4JBbLEsPN5oT5i0=
In-Reply-To: <db13b117-d555-4dab-885c-a3b706957cb3n@googlegroups.com>
 by: Janis Papanagnou - Mon, 27 Dec 2021 10:01 UTC

Subject: Re: obfuscated AWK code challenge

It's arguable whether it's appropriate to call code an "AWK code
challenge" that obviously relies on external commands like 'od',
'openssl', and various shell commands _within_ the awk code.

Janis

On 27.12.2021 03:53, RARE Kpop Manifesto wrote:
> without actually running this code, can you figure out which prime number has been encoded within the input of ASCII letters
>
> [ Mcb ]
>
> plus the trick that allowed me to achieve such a compression ratio.
>
> * The code works equally well in gawk, mawk-1, mawk2, and nawk.
> It is ENTIRELY self-encapsulated.
>
> Enjoy !
>
> = === === === === === === === === === === === === ==
>
> echo; cmd=' echo Mcb | mawk2 '\''function _________(__,_,___) { (___="bc <<< \"obase="(_*=_^=_+=++_)"; "(__)" ;\"")|getline _; close(___); return _ } BEGIN {_____="%c";for(_-=(___-=(_=(_*=_*=_*=_+=++_)))^!_;-""<=_;_--) {__[sprintf(_____,___-+-_)]=_}; for(_ in __) { __[_] } } {____=+""; for(_=_____=length($(____));_;_--) { ___=__[substr($(____),_,!!_)]___ }; ______=___%(_____=((!-"")(-""))^(_____*=(_^=_=-"")^-!-""));_______=int(___/_____);___="%*.f"; ________=sprintf((___"_")___,--_______,!_,--______+-+_______,!___); gsub(/[^_]/,_^!_,________); sub(/[_]/,+"",________); sub(/..$/,"",_____);_____+=_="";_+=_^=_; printf(" log-base-"(_)" :: %."(_^_^_)"g%c%c %c digits in decimal :: %d%c%c 0x %s%c%c",log(_)^(_/-_)*(log((".")(________))+log(_____)*(___=length(________))), _____, _____,_^_*_____-_^-!!_*_____,___,_____,_____, _________(________), _____,_____); system("openssl prime -checks "(_+=_*=(_^=_)*_)" "(________)) }'\'' '; gprintf '\n%s\n\n' "${cmd}" ; echo; eval "${cmd}"
>

Re: obfuscated AWK code challenge

<sqccv1$eu7$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=968&group=comp.lang.awk#968

  copy link   Newsgroups: comp.lang.awk
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: mortonspam@gmail.com (Ed Morton)
Newsgroups: comp.lang.awk
Subject: Re: obfuscated AWK code challenge
Date: Mon, 27 Dec 2021 06:52:48 -0600
Organization: A noiseless patient Spider
Lines: 27
Message-ID: <sqccv1$eu7$1@dont-email.me>
References: <db13b117-d555-4dab-885c-a3b706957cb3n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 27 Dec 2021 12:52:50 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="b9890e7f688de6be43a7b136904b5ddf";
logging-data="15303"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX182z7ADWTD8TfadcqGtTXS2"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.4.1
Cancel-Lock: sha1:MsbnP6hr0PkpMkWX/EsxCZNXAYY=
In-Reply-To: <db13b117-d555-4dab-885c-a3b706957cb3n@googlegroups.com>
X-Antivirus-Status: Clean
Content-Language: en-US
X-Antivirus: Avast (VPS 211227-0, 12/26/2021), Outbound message
 by: Ed Morton - Mon, 27 Dec 2021 12:52 UTC

On 12/26/2021 8:53 PM, RARE Kpop Manifesto wrote:
> without actually running this code, can you figure out which prime number has been encoded within the input of ASCII letters

Serious question - why would we want to do that? Is this homework?

>
> [ Mcb ]
>
> plus the trick that allowed me to achieve such a compression ratio.
>
> * The code works equally well in gawk, mawk-1, mawk2, and nawk.
> It is ENTIRELY self-encapsulated.

No, it's not, it's spawning subshells to call external tools from awk
and using shell to populate a variable then calling eval to execute it.
You could call this a shell code challenge I suppose but there's still
the question of "why?".

Ed.

>
> Enjoy !
>
> = === === === === === === === === === === === === ==
>
> echo; cmd=' echo Mcb | mawk2 '\''function _________(__,_,___) { (___="bc <<< \"obase="(_*=_^=_+=++_)"; "(__)" ;\"")|getline _; close(___); return _ } BEGIN {_____="%c";for(_-=(___-=(_=(_*=_*=_*=_+=++_)))^!_;-""<=_;_--) {__[sprintf(_____,___-+-_)]=_}; for(_ in __) { __[_] } } {____=+""; for(_=_____=length($(____));_;_--) { ___=__[substr($(____),_,!!_)]___ }; ______=___%(_____=((!-"")(-""))^(_____*=(_^=_=-"")^-!-""));_______=int(___/_____);___="%*.f"; ________=sprintf((___"_")___,--_______,!_,--______+-+_______,!___); gsub(/[^_]/,_^!_,________); sub(/[_]/,+"",________); sub(/..$/,"",_____);_____+=_="";_+=_^=_; printf(" log-base-"(_)" :: %."(_^_^_)"g%c%c %c digits in decimal :: %d%c%c 0x %s%c%c",log(_)^(_/-_)*(log((".")(________))+log(_____)*(___=length(________))), _____, _____,_^_*_____-_^-!!_*_____,___,_____,_____, _________(________), _____,_____); system("openssl prime -checks "(_+=_*=(_^=_)*_)" "(________)) }'\'' '; gprintf '\n%s\n\n' "${cmd}" ; echo; eval "${cmd}"

Re: obfuscated AWK code challenge

<6ce272af-9f47-4811-a68b-cb84200d7629n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=988&group=comp.lang.awk#988

  copy link   Newsgroups: comp.lang.awk
X-Received: by 2002:a37:bd05:: with SMTP id n5mr9094432qkf.293.1642248978564; Sat, 15 Jan 2022 04:16:18 -0800 (PST)
X-Received: by 2002:a25:a264:: with SMTP id b91mr17635137ybi.58.1642248978369; Sat, 15 Jan 2022 04:16:18 -0800 (PST)
Path: i2pn2.org!rocksolid2!news.neodome.net!news.uzoreto.com!tr3.eu1.usenetexpress.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.awk
Date: Sat, 15 Jan 2022 04:16:18 -0800 (PST)
In-Reply-To: <sqc2tq$jf6$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:7000:3c3d:41c0:0:0:0:3c3; posting-account=n74spgoAAAAZZyBGGjbj9G0N4Q659lEi
NNTP-Posting-Host: 2603:7000:3c3d:41c0:0:0:0:3c3
References: <db13b117-d555-4dab-885c-a3b706957cb3n@googlegroups.com> <sqc2tq$jf6$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6ce272af-9f47-4811-a68b-cb84200d7629n@googlegroups.com>
Subject: Re: obfuscated AWK code challenge
From: jason.cy.kwan@gmail.com (Kpop 2GM)
Injection-Date: Sat, 15 Jan 2022 12:16:18 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 270
 by: Kpop 2GM - Sat, 15 Jan 2022 12:16 UTC

the openssl part is only to do a real-time proving that whatever that was generated is indeed a 3312-bit prime number. The "bc" part is just to print that prime out in hex, that's all. if u want to u can ignore that part. i could add a bigint2hex function here but it would bloat it up.

when i posted this one, 3312-bit was the largest i found, with this output :

log-base-2 :: 3312.114313696145

# digits in decimal :: 998

0x 1151C1900FBB915A46082603C8F0F9A89505D3D11D440819AB64EC6F02A03DE9D9ADB5BE503EF7BF92835B5E480BA38B69DF05C51BC341797A7F830A27E5BD987D6F9FF7ADE7617228200D1457DD81512E421655F9AA1252496124EFA42A709113D454C7C605C13CAE151822938F9CF88F182868A5F6A8EA5A007181B734F37EE8287BEEBC65D79C45ED096CDA1212298ABDFC6740B545B2FBA76661A855AE963C14E370031656B010E8EBBEE709727B15B86DD0C2C85D30ECE5AE9485933B64A3F6D41913C83D6E0CD267B315A5BE712927B2940C52498CFE2CDC490FE243643D8D43BF359B2F220EED2CC77B1A00998A6968E13016DA892EC80B3E07A453CBAB356870BB4C87BE80C425B1B1D74C3BC4A0D000B10735C0C29B2885AD0D9929C7CB1C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C7111CF137D09F26D544CC35DBAF70FC67C02B7B5390BE713DA98BB8DB709D78DA1F0F9BFD19D7BA9DC48C0EE771761D5E72AA8E43E79211925708B0770CF93ECDF1C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C7

11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 is prime

that's not a bit-string - that's a base-10 decimal number that happens to only have 1's and 0's. This code actually runs pretty fast - no recursion needed, no loops in the main body (other than setting up a lookup table at beginning)

it's Mcb cuz knowing the very speicific structure of only 1s, and 1 single zero, all i have to encode would be total length, and position of that zero

779 is the position, 998 is the length
779998
by ASCII ordinance numbers, 77,99,98 maps to M, c, and b, which is even more efficient encoding that trying to encode that number in hex, which is BE6DE. Print that hex out as bytes x0B xE6 xDE and it's still 3-bytes needed, but won't be particularly human-readable.

that's before. since the original posting, using the same technique, i could now encode a 13,789-bit prime using just 4 bytes (see below). What's the point ? i'm curious if any algorithm, anywhere, can achieve a better compression ratio than that. RLE is still much larger, as is LZW or LZMA.

u can say mine is a bit cheating, since it's not a generic algorithm - i see it as : decompression algorithms are just a form of lossless reconstruction, so why limit the possibilities, as long as the output is what's intended ? there are algorithms optimized for lossless compression of audio, like FLAC, so perhaps there should also be compression algorithms optimized for the key exchanges in cryptography .

Make the overhead low enough, and we could even move to a paradigm where every other message, or even every message, is a different one-time key.

function __________(__,_,___) {
(___="bc <<< \"obase="(_*=_^=\
_+=++_)"; "(__)" ;\"")|getline _;
close(___); return _ };

function _________(_,__,___,____,
_____,______,_______,________) {
_____="%c";
for(_-=(___-=(_=(_*=_*=_*=\
________=_+=++_)))^!_;\
-""<=_;_--) {__[\
sprintf(_____,___-+-_)]=\
(((______=sprintf(substr(_____,\
_^!___,!-"")(+"")(_______)"d",_)\
)!~/.../)?______\
: substr(______,(!-"")+(!-"")))
};for(_ in __) {
__[_] }
____=+(_______="")
_______=_=-(\
_^=_^=_+=_^=_="")
for(_=_____=length(____=sprintf(\
"%c%c%c%c",\
_______+(4-6)^6-4*6+4^!6,\
_______+46+6,\
_______+(4+6)^(-4+6),_______+46));_;_--) {
___=__[substr(____,_,!!_)]___;
}
if ((______=___%(_____=\
((!-"")(-""))^(_____*=\
(_^=_=-"")^-!-"")))<(_______=\
int(___/_____))) {___=______;
______=_______;_______=___}
___="%*.f";________=sprintf(\
(___"_")___,--_______,!_,\
--______+-+_______,!___)
gsub(/[^_]/,_^!_,________)
sub(/[_]/,+"",________)
sub(/..$/,"",_____)
_____=(_+=_^=_="")^_*_+_;
printf(" log-base-"(_)" :: %."(\
_^_^_)"g\n\n %c digits in "\
"decimal :: %d\n\n 0x %s\n\n",\
(log((".")(substr(________,_/_,\
_____*_*_____)))+log(_____)*(___=\
length(________)))/log(_),_____/-_+\
_^_*_____,___, __________(________))
system("openssl prime "\
" "(________)); return ________ };

log-base-2 :: 13789.47552497089

# digits in decimal :: 4152

0x 2C7E5AA2F0BE2B80FF9069A51FD1F58B439FCA60DEDD9D7F4F12FDCCAECEA620CC211B4A3DDB9E1CC7C6A478ACDD0DA895D8FA594B723A6D8F8D0A9998B2640A2089A54D82480D1218C764285FD9F96D8222623E64E7FD9C5B33359DC5B3C87591CE9BC6CE493E9CD0FA633BEC77432074E6E4FBB04D0BD33C9E4BE92076D7DFC75D6A78BCCE4D0A80949167BA292C7756CD0A7311118394E74D99728A2175149F57E0B3B081530AC1DFB6D05EFB02E82A83EBE03A4B73350EC780788438340462CB782ED9A5F3208DB16392CED5E976BCF1E385D88A494214F20186945A74151DFB107DFC33C3371E314C26906C5D5696F47E75F186D61454EE594A0254DAA1877CAB24B23547D3FEB04E89DAEAD6577EF7251F893493FBD28E3D1045579BD9C9F8133001600F2D9A7B290350CB9A736D8D4F07C7183A6A6A8676204B692F7341FC8EE68D3DC20E00B015FBB946C7999A42DCFC26B6D78ECDCAD06457BE0BD51604C823DB5948AFB7F038ED981DBCDCCBF401DEC2C0F803A69DE914BE1B99FBA80EA6CB41EB2F1D9DCE7DC1D14753F354B775B5E780C7B4114F241237691BF8549EC6D54F4A718CB81C35DE1E6DA861C56B57BA87998218EA10497378C60E2467CC5E20E54E583EF1396EE0BBEA29CD70B57515D8FCC44D681098EE61FE24D4D9CFAC54E2A63ACA9DBBB470291AB988346D7A015CE7C0DC0464FB5272512149266B1BF1E292EB788B74EC716DA132FDD0FA4D1D66823E12748ECC06536A0956BAF2C6C1656A5A6C1E612E30263DECBD1FBBD34383DD34E6A7FF6FA0C19A264CF24E8374F5E55CF9B755BB00969F940D08384E1FB6A81C838E763953A8F8F0734570261AB051903A123BBA8FE4AF37FB36C4E61497FD5ECB84C1A170777591AB46513006859C777F91FDAA1464B7158258E83F27081ABA1F5B66F8377DA9EB96D4124C322FF5C0721CB097D317380EDC375F526B62B5D736F59FCC749B1C145584CE60ED15FE804FC4D533CCFA6DB77B0352B177A2E587D6D35932197969B20DB2327BE2DEF73EC46BDC17358B10ACFB4B01D460930BC27B3EE11EE69692E4554C396231E8103B479335A68155949A9D2021C2D30AD16AB295339FA5D9BA7BBAA713F0AC26D8A5292AFC7F94583F3F0B193CCF6AC450178218EBA7D2396531B1F48A7ADF6915B0BEE0A2AF6C875A13145AABECADC63FCCCDEB097496C1115387690B2DDD4C51B6E22F8E060841AF02A4AFEB62A25B67C872E232F6C70EAD3222E57BB12823C34225A12503549FB9F3E5D8967AD738B4D28FF72EC8FBAD18CF4AB82BD50F35B7A9A9D41CB27506363404D6092670C018F41D951A7F342CF5363459DAEC4E38B4797FACE0DF7356F67CE9694469AE27C68DC13C12EC6ACDB8F003C775B19650B9AACAB3C97CE2F8EC78EA7F05F7B3211EEA6A8006316AE93EF4811ED6688F8BA34A7119B16438FD14EC1A21F22868738EA7D8F95E895438F1E7FA199E904A2869C39AEA681B10E7E00555539730E9CD1E4D842C31B1156ECCEE49B3E83F1542D6CC3CBD4E487D48832E7F4C93261F2792192146A429763E9B641A548492A5E0E76CAE75DB5D1B0F919FC79E15FA793027F1F9FC9B8DA1C2FEB40B56AB442135606BE914B620541BB552F2D0A558E1133581E3749C4EBE585D68F31E70AE62965579F671EAD5F5006D25069BE5C46C4B5C5A8B2165E31C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C71C7

111111111111111111111111111111111111111111111011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 is prime


Click here to read the complete article
Re: obfuscated AWK code challenge

<38d8762a-a0b2-4f84-8f3f-3fd82e43fc0an@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=989&group=comp.lang.awk#989

  copy link   Newsgroups: comp.lang.awk
X-Received: by 2002:a37:a90f:: with SMTP id s15mr8323845qke.605.1642415307789;
Mon, 17 Jan 2022 02:28:27 -0800 (PST)
X-Received: by 2002:a25:6e8a:: with SMTP id j132mr23527572ybc.561.1642415307642;
Mon, 17 Jan 2022 02:28:27 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.awk
Date: Mon, 17 Jan 2022 02:28:27 -0800 (PST)
In-Reply-To: <6ce272af-9f47-4811-a68b-cb84200d7629n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:7000:3c3d:41c0:0:0:0:3c3;
posting-account=n74spgoAAAAZZyBGGjbj9G0N4Q659lEi
NNTP-Posting-Host: 2603:7000:3c3d:41c0:0:0:0:3c3
References: <db13b117-d555-4dab-885c-a3b706957cb3n@googlegroups.com>
<sqc2tq$jf6$1@dont-email.me> <6ce272af-9f47-4811-a68b-cb84200d7629n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <38d8762a-a0b2-4f84-8f3f-3fd82e43fc0an@googlegroups.com>
Subject: Re: obfuscated AWK code challenge
From: jason.cy.kwan@gmail.com (Kpop 2GM)
Injection-Date: Mon, 17 Jan 2022 10:28:27 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 3
 by: Kpop 2GM - Mon, 17 Jan 2022 10:28 UTC

@Janis Papanagnou : if u want a pure awk code challenge, tell me what output comes out of this :

mawk _^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^-_^_^_^_^_^_^_^_^_^_^_^_^_^--_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_

Re: obfuscated AWK code challenge

<ss3ht2$78q$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=992&group=comp.lang.awk#992

  copy link   Newsgroups: comp.lang.awk
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: janis_papanagnou@hotmail.com (Janis Papanagnou)
Newsgroups: comp.lang.awk
Subject: Re: obfuscated AWK code challenge
Date: Mon, 17 Jan 2022 11:54:25 +0100
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <ss3ht2$78q$1@dont-email.me>
References: <db13b117-d555-4dab-885c-a3b706957cb3n@googlegroups.com>
<sqc2tq$jf6$1@dont-email.me>
<6ce272af-9f47-4811-a68b-cb84200d7629n@googlegroups.com>
<38d8762a-a0b2-4f84-8f3f-3fd82e43fc0an@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 17 Jan 2022 10:54:26 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="24fdb8a647b7d2f1290b9bcfb44b5673";
logging-data="7450"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/TRSfcqgF4TlhPNocwBuaC"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:QGajhkvgsEK1u08L/pcAJsF8j+M=
In-Reply-To: <38d8762a-a0b2-4f84-8f3f-3fd82e43fc0an@googlegroups.com>
 by: Janis Papanagnou - Mon, 17 Jan 2022 10:54 UTC

On 17.01.2022 11:28, Kpop 2GM wrote:
>
> @Janis Papanagnou : if u want a pure awk code challenge, tell me what output comes out of this :
>
> mawk _^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^-_^_^_^_^_^_^_^_^_^_^_^_^_^--_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_
>

From a quick glance it seems only half of what is produced by either of

awk 'Doh! Uh - oh, oh no; no! (not again)'

awk 'Doh! Uh - oh, oh no; no! (not again) - Unclear?! then say: "bye"'

Janis

Re: obfuscated AWK code challenge

<20220117120345.25ab3c9a@gonzo>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=993&group=comp.lang.awk#993

  copy link   Newsgroups: comp.lang.awk
Path: i2pn2.org!i2pn.org!aioe.org!VuS7JdLSTWPFiOoLE47usg.user.46.165.242.91.POSTED!not-for-mail
From: pk@pk.invalid (pk)
Newsgroups: comp.lang.awk
Subject: Re: obfuscated AWK code challenge
Date: Mon, 17 Jan 2022 12:03:45 +0100
Organization: Aioe.org NNTP Server
Message-ID: <20220117120345.25ab3c9a@gonzo>
References: <db13b117-d555-4dab-885c-a3b706957cb3n@googlegroups.com>
<sqc2tq$jf6$1@dont-email.me>
<6ce272af-9f47-4811-a68b-cb84200d7629n@googlegroups.com>
<38d8762a-a0b2-4f84-8f3f-3fd82e43fc0an@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="55749"; posting-host="VuS7JdLSTWPFiOoLE47usg.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
X-Notice: Filtered by postfilter v. 0.9.2
 by: pk - Mon, 17 Jan 2022 11:03 UTC

On Mon, 17 Jan 2022 02:28:27 -0800 (PST), Kpop 2GM
<jason.cy.kwan@gmail.com> wrote:

>
> @Janis Papanagnou : if u want a pure awk code challenge, tell me what
> output comes out of this :
>
> mawk
> _^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^-_^_^_^_^_^_^_^_^_^_^_^_^_^--_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_

Absolutely nothing if you don't supply an input, and even then I doubt it
produces any output at all.

Re: obfuscated AWK code challenge

<ss3j36$tc3$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=994&group=comp.lang.awk#994

  copy link   Newsgroups: comp.lang.awk
Path: i2pn2.org!i2pn.org!aioe.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: janis_papanagnou@hotmail.com (Janis Papanagnou)
Newsgroups: comp.lang.awk
Subject: Re: obfuscated AWK code challenge
Date: Mon, 17 Jan 2022 12:14:46 +0100
Organization: A noiseless patient Spider
Lines: 23
Message-ID: <ss3j36$tc3$1@dont-email.me>
References: <db13b117-d555-4dab-885c-a3b706957cb3n@googlegroups.com>
<sqc2tq$jf6$1@dont-email.me>
<6ce272af-9f47-4811-a68b-cb84200d7629n@googlegroups.com>
<38d8762a-a0b2-4f84-8f3f-3fd82e43fc0an@googlegroups.com>
<20220117120345.25ab3c9a@gonzo>
Mime-Version: 1.0
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 17 Jan 2022 11:14:46 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="24fdb8a647b7d2f1290b9bcfb44b5673";
logging-data="30083"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/h5OO2727q6wA/5fZZllgA"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:3Zoztmh99ZsjUkDzaftmSvEgSaA=
In-Reply-To: <20220117120345.25ab3c9a@gonzo>
 by: Janis Papanagnou - Mon, 17 Jan 2022 11:14 UTC

On 17.01.2022 12:03, pk wrote:
> On Mon, 17 Jan 2022 02:28:27 -0800 (PST), Kpop 2GM
> <jason.cy.kwan@gmail.com> wrote:
>
>>
>> @Janis Papanagnou : if u want a pure awk code challenge, tell me what
>> output comes out of this :
>>
>> mawk
>> _^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^-_^_^_^_^_^_^_^_^_^_^_^_^_^--_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_
>
> Absolutely nothing if you don't supply an input, and even then I doubt it
> produces any output at all.

Careful! - You have a variable named _ and it has a value in numeric
context of 0, then you have these cascades of power 0^0 which results
in 1, and some arithmetic in between (- and - -), that effectively
seems to result in 1, meaning an awk condition 'true', and that the
input is therefore just reproduced in the output. (Just an educated
guess, no analysis done.)

Janis

Re: obfuscated AWK code challenge

<3a4696a7-c46e-4e8c-bcec-d08def6b78adn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=999&group=comp.lang.awk#999

  copy link   Newsgroups: comp.lang.awk
X-Received: by 2002:a05:620a:2486:: with SMTP id i6mr562838qkn.449.1642713155771;
Thu, 20 Jan 2022 13:12:35 -0800 (PST)
X-Received: by 2002:a5b:352:: with SMTP id q18mr1527403ybp.23.1642713155587;
Thu, 20 Jan 2022 13:12:35 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.awk
Date: Thu, 20 Jan 2022 13:12:35 -0800 (PST)
In-Reply-To: <ss3ht2$78q$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:7000:3c3d:41c0:0:0:0:3c3;
posting-account=n74spgoAAAAZZyBGGjbj9G0N4Q659lEi
NNTP-Posting-Host: 2603:7000:3c3d:41c0:0:0:0:3c3
References: <db13b117-d555-4dab-885c-a3b706957cb3n@googlegroups.com>
<sqc2tq$jf6$1@dont-email.me> <6ce272af-9f47-4811-a68b-cb84200d7629n@googlegroups.com>
<38d8762a-a0b2-4f84-8f3f-3fd82e43fc0an@googlegroups.com> <ss3ht2$78q$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3a4696a7-c46e-4e8c-bcec-d08def6b78adn@googlegroups.com>
Subject: Re: obfuscated AWK code challenge
From: jason.cy.kwan@gmail.com (Kpop 2GM)
Injection-Date: Thu, 20 Jan 2022 21:12:35 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 20
 by: Kpop 2GM - Thu, 20 Jan 2022 21:12 UTC

On Monday, January 17, 2022 at 5:54:28 AM UTC-5, Janis Papanagnou wrote:
> On 17.01.2022 11:28, Kpop 2GM wrote:
> >
> > @Janis Papanagnou : if u want a pure awk code challenge, tell me what output comes out of this :
> >
> > mawk _^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^-_^_^_^_^_^_^_^_^_^_^_^_^_^--_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_
> >
> From a quick glance it seems only half of what is produced by either of
>
> awk 'Doh! Uh - oh, oh no; no! (not again)'
>
> awk 'Doh! Uh - oh, oh no; no! (not again) - Unclear?! then say: "bye"'
>
>
> Janis

it's actually really straight forward - that code simply prints everything except first line.

here's another pure awk one for u : what does this perform :

mawk -F= 'BEGIN {_+=(_^=__=_+=++_+_)-_/_} $!!_=$!_=$(__+(_<=+$!_)*NF)'

Re: obfuscated AWK code challenge

<c5436dcc-ba30-4421-918e-ec02865dbc4bn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1000&group=comp.lang.awk#1000

  copy link   Newsgroups: comp.lang.awk
X-Received: by 2002:a37:aa82:: with SMTP id t124mr566140qke.495.1642713393954;
Thu, 20 Jan 2022 13:16:33 -0800 (PST)
X-Received: by 2002:a25:a264:: with SMTP id b91mr1599681ybi.58.1642713393763;
Thu, 20 Jan 2022 13:16:33 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.awk
Date: Thu, 20 Jan 2022 13:16:33 -0800 (PST)
In-Reply-To: <ss3j36$tc3$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:7000:3c3d:41c0:0:0:0:3c3;
posting-account=n74spgoAAAAZZyBGGjbj9G0N4Q659lEi
NNTP-Posting-Host: 2603:7000:3c3d:41c0:0:0:0:3c3
References: <db13b117-d555-4dab-885c-a3b706957cb3n@googlegroups.com>
<sqc2tq$jf6$1@dont-email.me> <6ce272af-9f47-4811-a68b-cb84200d7629n@googlegroups.com>
<38d8762a-a0b2-4f84-8f3f-3fd82e43fc0an@googlegroups.com> <20220117120345.25ab3c9a@gonzo>
<ss3j36$tc3$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c5436dcc-ba30-4421-918e-ec02865dbc4bn@googlegroups.com>
Subject: Re: obfuscated AWK code challenge
From: jason.cy.kwan@gmail.com (Kpop 2GM)
Injection-Date: Thu, 20 Jan 2022 21:16:33 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 35
 by: Kpop 2GM - Thu, 20 Jan 2022 21:16 UTC

On Monday, January 17, 2022 at 6:14:48 AM UTC-5, Janis Papanagnou wrote:
> On 17.01.2022 12:03, pk wrote:
> > On Mon, 17 Jan 2022 02:28:27 -0800 (PST), Kpop 2GM
> >
> >>
> >> @Janis Papanagnou : if u want a pure awk code challenge, tell me what
> >> output comes out of this :
> >>
> >> mawk
> >> _^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^-_^_^_^_^_^_^_^_^_^_^_^_^_^--_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_
> >
> > Absolutely nothing if you don't supply an input, and even then I doubt it
> > produces any output at all.
> Careful! - You have a variable named _ and it has a value in numeric
> context of 0, then you have these cascades of power 0^0 which results
> in 1, and some arithmetic in between (- and - -), that effectively
> seems to result in 1, meaning an awk condition 'true', and that the
> input is therefore just reproduced in the output. (Just an educated
> guess, no analysis done.)
>
> Janis

those cascading 0^0, and one single negation and one single pre-decrement were absolutely intentional.that wasn't a typo.

but i also found the absolutely shortest syntax possible to utilize gawk's hex decoder and print out decimals, assuming the input is just rows of 0x….. :

gawk -n '($!_=+$_)~_'
or
gawk -nM '($!_=+$_)~_' (if you need higher than double precision)

Re: obfuscated AWK code challenge

<d8aa1052-91c4-44da-a6e4-6ade8cebc2cfn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1001&group=comp.lang.awk#1001

  copy link   Newsgroups: comp.lang.awk
X-Received: by 2002:a37:ad15:: with SMTP id f21mr632244qkm.542.1642713670963;
Thu, 20 Jan 2022 13:21:10 -0800 (PST)
X-Received: by 2002:a25:2707:: with SMTP id n7mr1548168ybn.142.1642713670809;
Thu, 20 Jan 2022 13:21:10 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.awk
Date: Thu, 20 Jan 2022 13:21:10 -0800 (PST)
In-Reply-To: <c5436dcc-ba30-4421-918e-ec02865dbc4bn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:7000:3c3d:41c0:0:0:0:3c3;
posting-account=n74spgoAAAAZZyBGGjbj9G0N4Q659lEi
NNTP-Posting-Host: 2603:7000:3c3d:41c0:0:0:0:3c3
References: <db13b117-d555-4dab-885c-a3b706957cb3n@googlegroups.com>
<sqc2tq$jf6$1@dont-email.me> <6ce272af-9f47-4811-a68b-cb84200d7629n@googlegroups.com>
<38d8762a-a0b2-4f84-8f3f-3fd82e43fc0an@googlegroups.com> <20220117120345.25ab3c9a@gonzo>
<ss3j36$tc3$1@dont-email.me> <c5436dcc-ba30-4421-918e-ec02865dbc4bn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d8aa1052-91c4-44da-a6e4-6ade8cebc2cfn@googlegroups.com>
Subject: Re: obfuscated AWK code challenge
From: jason.cy.kwan@gmail.com (Kpop 2GM)
Injection-Date: Thu, 20 Jan 2022 21:21:10 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 19
 by: Kpop 2GM - Thu, 20 Jan 2022 21:21 UTC

> but i also found the absolutely shortest syntax possible to utilize gawk's hex decoder and print out decimals, assuming the input is just rows of 0x….. :
>
> gawk -n '($!_=+$_)~_'
> or
> gawk -nM '($!_=+$_)~_' (if you need higher than double precision)

need to append my statement - the same code also works for octals-to-decimals.

echo 025333523235356512534543125646531264523653261 | gawk -nM '($!_=+$_)~_'

1822980154315230596830091282486207141553

basically anything in the same standardized format accepted by strtonum( ) would work, without having to call that function, or even use the print statement, and without even having to type in any numbers at all in the code.

Re: obfuscated AWK code challenge

<f89a7189-51c2-4df1-994e-3d23bf2ee5a4n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1002&group=comp.lang.awk#1002

  copy link   Newsgroups: comp.lang.awk
X-Received: by 2002:ad4:5dcd:: with SMTP id m13mr956600qvh.128.1642714401530;
Thu, 20 Jan 2022 13:33:21 -0800 (PST)
X-Received: by 2002:a05:6902:85:: with SMTP id h5mr1581830ybs.697.1642714401292;
Thu, 20 Jan 2022 13:33:21 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.awk
Date: Thu, 20 Jan 2022 13:33:21 -0800 (PST)
In-Reply-To: <d8aa1052-91c4-44da-a6e4-6ade8cebc2cfn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:7000:3c3d:41c0:0:0:0:3c3;
posting-account=n74spgoAAAAZZyBGGjbj9G0N4Q659lEi
NNTP-Posting-Host: 2603:7000:3c3d:41c0:0:0:0:3c3
References: <db13b117-d555-4dab-885c-a3b706957cb3n@googlegroups.com>
<sqc2tq$jf6$1@dont-email.me> <6ce272af-9f47-4811-a68b-cb84200d7629n@googlegroups.com>
<38d8762a-a0b2-4f84-8f3f-3fd82e43fc0an@googlegroups.com> <20220117120345.25ab3c9a@gonzo>
<ss3j36$tc3$1@dont-email.me> <c5436dcc-ba30-4421-918e-ec02865dbc4bn@googlegroups.com>
<d8aa1052-91c4-44da-a6e4-6ade8cebc2cfn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f89a7189-51c2-4df1-994e-3d23bf2ee5a4n@googlegroups.com>
Subject: Re: obfuscated AWK code challenge
From: jason.cy.kwan@gmail.com (Kpop 2GM)
Injection-Date: Thu, 20 Jan 2022 21:33:21 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 12
 by: Kpop 2GM - Thu, 20 Jan 2022 21:33 UTC

the posix flag -P is similar as the -n (nondecimal) flag in the sense it can interpret hex and octals, but only realistically up to 2^53 since -P flag doesn't pair well with bignum flag -M - it wouldn't print out an error message, but the -P flag gets nullified by -M flag

the easiest way i found to detect whether an innovation of any variant of awk is in gawk -P mode is

("<"<"\x3c")

\x3C is the hex code for byte "<", so this boolean criteria fails for everyone else since one cannot be less than one-self, except gawk -P, which ignores the hex notation, and compares "<" (\074) against "x" (\170)

Re: obfuscated AWK code challenge

<sscq2g$kbs$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1003&group=comp.lang.awk#1003

  copy link   Newsgroups: comp.lang.awk
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: janis_papanagnou@hotmail.com (Janis Papanagnou)
Newsgroups: comp.lang.awk
Subject: Re: obfuscated AWK code challenge
Date: Fri, 21 Jan 2022 00:09:04 +0100
Organization: A noiseless patient Spider
Lines: 51
Message-ID: <sscq2g$kbs$1@dont-email.me>
References: <db13b117-d555-4dab-885c-a3b706957cb3n@googlegroups.com>
<sqc2tq$jf6$1@dont-email.me>
<6ce272af-9f47-4811-a68b-cb84200d7629n@googlegroups.com>
<38d8762a-a0b2-4f84-8f3f-3fd82e43fc0an@googlegroups.com>
<ss3ht2$78q$1@dont-email.me>
<3a4696a7-c46e-4e8c-bcec-d08def6b78adn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 20 Jan 2022 23:09:04 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="1ed4e25e73c62cec745daf5f4c614190";
logging-data="20860"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/ZcHfoRsOKBoJ7omg//69/"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:FvnCURB0fe3EXaz7AvZRFJVs/Rk=
In-Reply-To: <3a4696a7-c46e-4e8c-bcec-d08def6b78adn@googlegroups.com>
X-Enigmail-Draft-Status: N1110
 by: Janis Papanagnou - Thu, 20 Jan 2022 23:09 UTC

On 20.01.2022 22:12, Kpop 2GM wrote:
> On Monday, January 17, 2022 at 5:54:28 AM UTC-5, Janis Papanagnou wrote:
>> On 17.01.2022 11:28, Kpop 2GM wrote:
>>>
>>> @Janis Papanagnou : if u want a pure awk code challenge, tell me what output comes out of this :
>>>
>>> mawk _^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^-_^_^_^_^_^_^_^_^_^_^_^_^_^--_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_
>>>
>> From a quick glance it seems only half of what is produced by either of
>>
>> awk 'Doh! Uh - oh, oh no; no! (not again)'
>>
>> awk 'Doh! Uh - oh, oh no; no! (not again) - Unclear?! then say: "bye"'
>>
>>
>> Janis
>
> it's actually really straight forward - that code simply prints everything except first line.

Not in my book, not in my system environment. And certainly not as
designed and intended.

Does it really do that in your environment?
Have you tried other awks than mawk?

And it's much less straightforward than your previously posted code.

Your code had just one type of obscurity; a uninitialized untypical
variable _ used that gets a default value in an expression that has
just be copied many many times. Any maybe the decrement operator can
be considered tricky because it requires an lvalue not a value, but
that's standard in C based programming languages.

In my code you find various concepts; lots of implicit forth and back
conversions between strings and integers, grouping, arithmetic and
negations, string constants, a range operator, and last but not least
even a ternary operator. All grouped like a sentence.

Spoiler; it should effectively evaluate to awk '1;1' thus, as noted,
duplicating every input line. (I wrote "[your code produces] half of
what is produced by [my code]", and I meant that literally since your
code produces the same as awk '1'.)

Janis

>
> here's another pure awk one for u : what does this perform :
>
> mawk -F= 'BEGIN {_+=(_^=__=_+=++_+_)-_/_} $!!_=$!_=$(__+(_<=+$!_)*NF)'
>

Re: obfuscated AWK code challenge

<sscqt6$p80$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1004&group=comp.lang.awk#1004

  copy link   Newsgroups: comp.lang.awk
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: janis_papanagnou@hotmail.com (Janis Papanagnou)
Newsgroups: comp.lang.awk
Subject: Re: obfuscated AWK code challenge
Date: Fri, 21 Jan 2022 00:23:18 +0100
Organization: A noiseless patient Spider
Lines: 64
Message-ID: <sscqt6$p80$1@dont-email.me>
References: <db13b117-d555-4dab-885c-a3b706957cb3n@googlegroups.com>
<sqc2tq$jf6$1@dont-email.me>
<6ce272af-9f47-4811-a68b-cb84200d7629n@googlegroups.com>
<38d8762a-a0b2-4f84-8f3f-3fd82e43fc0an@googlegroups.com>
<20220117120345.25ab3c9a@gonzo> <ss3j36$tc3$1@dont-email.me>
<c5436dcc-ba30-4421-918e-ec02865dbc4bn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Thu, 20 Jan 2022 23:23:18 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="81f2c5b36b78674faa7eb3594f8b717f";
logging-data="25856"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18RSYEDeOLN/ZS4N69dJBaR"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:qehQYcFWlbwOCFRI04ikD2zPv38=
In-Reply-To: <c5436dcc-ba30-4421-918e-ec02865dbc4bn@googlegroups.com>
X-Enigmail-Draft-Status: N1110
 by: Janis Papanagnou - Thu, 20 Jan 2022 23:23 UTC

On 20.01.2022 22:16, Kpop 2GM wrote:
> On Monday, January 17, 2022 at 6:14:48 AM UTC-5, Janis Papanagnou wrote:
>> On 17.01.2022 12:03, pk wrote:
>>> On Mon, 17 Jan 2022 02:28:27 -0800 (PST), Kpop 2GM
>>>
>>>>
>>>> @Janis Papanagnou : if u want a pure awk code challenge, tell me what
>>>> output comes out of this :
>>>>
>>>> mawk
>>>> _^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^-_^_^_^_^_^_^_^_^_^_^_^_^_^--_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_
>>>
>>> Absolutely nothing if you don't supply an input, and even then I doubt it
>>> produces any output at all.
>> Careful! - You have a variable named _ and it has a value in numeric
>> context of 0, then you have these cascades of power 0^0 which results
>> in 1, and some arithmetic in between (- and - -), that effectively
>> seems to result in 1, meaning an awk condition 'true', and that the
>> input is therefore just reproduced in the output. (Just an educated
>> guess, no analysis done.)
>>
>> Janis
>
> those cascading 0^0, and one single negation and one single pre-decrement
> were absolutely intentional.that wasn't a typo.

I didn't say or meant it was a typo. That's just "some arithmetic",
as also said in my other recent post. You used arithmetic, ^, -, --,
and a variable _ , that's all WRT complexity, the duplication doesn't
really contribute.

BTW, in my other post I forgot to mention one more trick in your code;
one should be aware that the exponentiation has right-associativity
(right grouping expression) and the evaluation of the subexpression
toggles between 0 and 1, so if you reduce the expression you have to
do that pair-wise to decompose that correctly.

_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_

is equivalent to either of

_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_
_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_
_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_^_
...
_^_^_^_
_^_

>
> but i also found the absolutely shortest syntax possible to utilize
> gawk's hex decoder and print out decimals, assuming the input is just rows of 0x….. :
>
> gawk -n '($!_=+$_)~_'
> or
> gawk -nM '($!_=+$_)~_' (if you need higher than double precision)
>

With my version of GNU awk this code just reproduces the input.

Want to provide test samples?

Janis

Re: obfuscated AWK code challenge

<7b1cd203-181a-4ca3-a2ac-62633e83db04n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1005&group=comp.lang.awk#1005

  copy link   Newsgroups: comp.lang.awk
X-Received: by 2002:a05:6214:e67:: with SMTP id jz7mr2365086qvb.85.1642744991757;
Thu, 20 Jan 2022 22:03:11 -0800 (PST)
X-Received: by 2002:a25:2f8c:: with SMTP id v134mr565080ybv.612.1642744991567;
Thu, 20 Jan 2022 22:03:11 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.awk
Date: Thu, 20 Jan 2022 22:03:11 -0800 (PST)
In-Reply-To: <sscqt6$p80$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:7000:3c3d:41c0:0:0:0:3c3;
posting-account=n74spgoAAAAZZyBGGjbj9G0N4Q659lEi
NNTP-Posting-Host: 2603:7000:3c3d:41c0:0:0:0:3c3
References: <db13b117-d555-4dab-885c-a3b706957cb3n@googlegroups.com>
<sqc2tq$jf6$1@dont-email.me> <6ce272af-9f47-4811-a68b-cb84200d7629n@googlegroups.com>
<38d8762a-a0b2-4f84-8f3f-3fd82e43fc0an@googlegroups.com> <20220117120345.25ab3c9a@gonzo>
<ss3j36$tc3$1@dont-email.me> <c5436dcc-ba30-4421-918e-ec02865dbc4bn@googlegroups.com>
<sscqt6$p80$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <7b1cd203-181a-4ca3-a2ac-62633e83db04n@googlegroups.com>
Subject: Re: obfuscated AWK code challenge
From: jason.cy.kwan@gmail.com (Kpop 2GM)
Injection-Date: Fri, 21 Jan 2022 06:03:11 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 3
 by: Kpop 2GM - Fri, 21 Jan 2022 06:03 UTC

try this one :

echo '0xCAFEBEEFFEED' | gawk -n '($!_=+$_)~_'
223195473903341

Re: obfuscated AWK code challenge

<3001936b-f27d-4826-9fed-191563f8e025n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1006&group=comp.lang.awk#1006

  copy link   Newsgroups: comp.lang.awk
X-Received: by 2002:a05:6214:4109:: with SMTP id kc9mr2315695qvb.59.1642745341073;
Thu, 20 Jan 2022 22:09:01 -0800 (PST)
X-Received: by 2002:a5b:352:: with SMTP id q18mr4199546ybp.23.1642745340919;
Thu, 20 Jan 2022 22:09:00 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.awk
Date: Thu, 20 Jan 2022 22:09:00 -0800 (PST)
In-Reply-To: <7b1cd203-181a-4ca3-a2ac-62633e83db04n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:7000:3c3d:41c0:0:0:0:3c3;
posting-account=n74spgoAAAAZZyBGGjbj9G0N4Q659lEi
NNTP-Posting-Host: 2603:7000:3c3d:41c0:0:0:0:3c3
References: <db13b117-d555-4dab-885c-a3b706957cb3n@googlegroups.com>
<sqc2tq$jf6$1@dont-email.me> <6ce272af-9f47-4811-a68b-cb84200d7629n@googlegroups.com>
<38d8762a-a0b2-4f84-8f3f-3fd82e43fc0an@googlegroups.com> <20220117120345.25ab3c9a@gonzo>
<ss3j36$tc3$1@dont-email.me> <c5436dcc-ba30-4421-918e-ec02865dbc4bn@googlegroups.com>
<sscqt6$p80$1@dont-email.me> <7b1cd203-181a-4ca3-a2ac-62633e83db04n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3001936b-f27d-4826-9fed-191563f8e025n@googlegroups.com>
Subject: Re: obfuscated AWK code challenge
From: jason.cy.kwan@gmail.com (Kpop 2GM)
Injection-Date: Fri, 21 Jan 2022 06:09:01 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 14
 by: Kpop 2GM - Fri, 21 Jan 2022 06:09 UTC

nawk is slightly more verbose :

echo '0xCAFEBEEFFEED' | nawk '($!+_=+$+_)~_'
223195473903341

echo '0xCAFEBEEFFEED' | mawk '($!_=+$_)^_' OFMT=%.f
223195473903341

echo $'0x0\n0xFEEDCAFEBEF' | mawk '($!_=+$_)<"_"' OFMT=%.f
0 17518579149807

echo '0xCAFEBEEFFEEDCAFEBEEFFEEDCAFEBEEFFEEDCAFEBEEFFEEDCAFEBEEFFEEDCAFEBEEFFEEDCAFEBEEFFEEDCAFEBEEFFEEDCAFEBEEFFEEDCAFEBEEFFEEDCAFEBEEFFEED' | gawk -nM '($!+_=+$+_)~_'

696760147094848118127845202403676761678558245541567696744233608423914272675373998167144529865231202819614166286871620170316927958511530298151998159289949617901

Re: obfuscated AWK code challenge

<a8eac355-f950-47d9-9204-4cccff274faan@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1007&group=comp.lang.awk#1007

  copy link   Newsgroups: comp.lang.awk
X-Received: by 2002:a05:6214:238e:: with SMTP id fw14mr2398547qvb.86.1642745569729;
Thu, 20 Jan 2022 22:12:49 -0800 (PST)
X-Received: by 2002:a05:6902:1504:: with SMTP id q4mr4325985ybu.357.1642745569560;
Thu, 20 Jan 2022 22:12:49 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.awk
Date: Thu, 20 Jan 2022 22:12:49 -0800 (PST)
In-Reply-To: <3001936b-f27d-4826-9fed-191563f8e025n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:7000:3c3d:41c0:0:0:0:3c3;
posting-account=n74spgoAAAAZZyBGGjbj9G0N4Q659lEi
NNTP-Posting-Host: 2603:7000:3c3d:41c0:0:0:0:3c3
References: <db13b117-d555-4dab-885c-a3b706957cb3n@googlegroups.com>
<sqc2tq$jf6$1@dont-email.me> <6ce272af-9f47-4811-a68b-cb84200d7629n@googlegroups.com>
<38d8762a-a0b2-4f84-8f3f-3fd82e43fc0an@googlegroups.com> <20220117120345.25ab3c9a@gonzo>
<ss3j36$tc3$1@dont-email.me> <c5436dcc-ba30-4421-918e-ec02865dbc4bn@googlegroups.com>
<sscqt6$p80$1@dont-email.me> <7b1cd203-181a-4ca3-a2ac-62633e83db04n@googlegroups.com>
<3001936b-f27d-4826-9fed-191563f8e025n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a8eac355-f950-47d9-9204-4cccff274faan@googlegroups.com>
Subject: Re: obfuscated AWK code challenge
From: jason.cy.kwan@gmail.com (Kpop 2GM)
Injection-Date: Fri, 21 Jan 2022 06:12:49 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 8
 by: Kpop 2GM - Fri, 21 Jan 2022 06:12 UTC

echo '0xCAFEBEEFFEED' |gawk -p- -P '($!+_=+$+_)~_'
223195473903341
# gawk profile, created Fri Jan 21 01:12:16 2022

# Rule(s)

1 ($! +_ = +$+_) ~ _ { # 1
1 print
}

Re: obfuscated AWK code challenge

<d725eda8-1f55-4680-b4fd-9557e525dd83n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1008&group=comp.lang.awk#1008

  copy link   Newsgroups: comp.lang.awk
X-Received: by 2002:a05:6214:2349:: with SMTP id hu9mr2455832qvb.93.1642749101750;
Thu, 20 Jan 2022 23:11:41 -0800 (PST)
X-Received: by 2002:a25:ba8b:: with SMTP id s11mr4412491ybg.287.1642749101456;
Thu, 20 Jan 2022 23:11:41 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.awk
Date: Thu, 20 Jan 2022 23:11:41 -0800 (PST)
In-Reply-To: <sscq2g$kbs$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:7000:3c3d:41c0:0:0:0:3c3;
posting-account=n74spgoAAAAZZyBGGjbj9G0N4Q659lEi
NNTP-Posting-Host: 2603:7000:3c3d:41c0:0:0:0:3c3
References: <db13b117-d555-4dab-885c-a3b706957cb3n@googlegroups.com>
<sqc2tq$jf6$1@dont-email.me> <6ce272af-9f47-4811-a68b-cb84200d7629n@googlegroups.com>
<38d8762a-a0b2-4f84-8f3f-3fd82e43fc0an@googlegroups.com> <ss3ht2$78q$1@dont-email.me>
<3a4696a7-c46e-4e8c-bcec-d08def6b78adn@googlegroups.com> <sscq2g$kbs$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d725eda8-1f55-4680-b4fd-9557e525dd83n@googlegroups.com>
Subject: Re: obfuscated AWK code challenge
From: jason.cy.kwan@gmail.com (Kpop 2GM)
Injection-Date: Fri, 21 Jan 2022 07:11:41 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 41
 by: Kpop 2GM - Fri, 21 Jan 2022 07:11 UTC

i've been building this huge library for my own use, and to ensure it's as portable as possible, i test the library against mawk 1.3.4, mawk1.9.9.6, gawk in unicode mode, gawk in byte mode, and nawk (or whatever proper name of that awk is that comes with macos at /usr/bin/awk)

from either pre-compiled binaries at homebrew, or just a straight up "make" using mawk-2's source code.

as a result, the library practically has nothing gawk specific at all, but the library also auto-detects which variant I invoked it with based on built-in behavior of the awk itself that cannot simply be tricked by hardcoding in a constant, or setting a variable somewhere, shell or inside awk :

e.g. this criteria (+"0x1" * 0x1)

every other awk and every other invocation flag of gawk would produce a zero, EXCEPT gawk -n / gawk -n -M

or this one : (+"")^atan2(+"",-log(+!+""))

every other awk and every invocation flag of gawk would produce a zero, EXCEPT nawk

i made this next criteria to quickly identify a few different variants/gawk flags, although not all of them are unique :

'BEGIN {
print \
-log((log(-"")*log(-""))^-log(-""))\
/(-"0xABCD")^-!-"" }'

mawk inf
mawk2 nan
nawk inf
gawk -P -e +inf
gawk -c -e +nan
gawk -e +nan
gawk -M -e -nan
gawk -n -e +inf

just gawk alone, you can get it to print out either positive Infinity, negative NaN, or positive NaN, depending on which flags.

Re: obfuscated AWK code challenge

<bb81b959-2b16-4647-9b5e-a195a0de5f49n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1009&group=comp.lang.awk#1009

  copy link   Newsgroups: comp.lang.awk
X-Received: by 2002:a05:6214:e47:: with SMTP id o7mr2513435qvc.118.1642749911606;
Thu, 20 Jan 2022 23:25:11 -0800 (PST)
X-Received: by 2002:a25:e64d:: with SMTP id d74mr4274057ybh.323.1642749911473;
Thu, 20 Jan 2022 23:25:11 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.awk
Date: Thu, 20 Jan 2022 23:25:11 -0800 (PST)
In-Reply-To: <d725eda8-1f55-4680-b4fd-9557e525dd83n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:7000:3c3d:41c0:0:0:0:3c3;
posting-account=n74spgoAAAAZZyBGGjbj9G0N4Q659lEi
NNTP-Posting-Host: 2603:7000:3c3d:41c0:0:0:0:3c3
References: <db13b117-d555-4dab-885c-a3b706957cb3n@googlegroups.com>
<sqc2tq$jf6$1@dont-email.me> <6ce272af-9f47-4811-a68b-cb84200d7629n@googlegroups.com>
<38d8762a-a0b2-4f84-8f3f-3fd82e43fc0an@googlegroups.com> <ss3ht2$78q$1@dont-email.me>
<3a4696a7-c46e-4e8c-bcec-d08def6b78adn@googlegroups.com> <sscq2g$kbs$1@dont-email.me>
<d725eda8-1f55-4680-b4fd-9557e525dd83n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <bb81b959-2b16-4647-9b5e-a195a0de5f49n@googlegroups.com>
Subject: Re: obfuscated AWK code challenge
From: jason.cy.kwan@gmail.com (Kpop 2GM)
Injection-Date: Fri, 21 Jan 2022 07:25:11 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 19
 by: Kpop 2GM - Fri, 21 Jan 2022 07:25 UTC

to check for mawk-2, it's

("\333\222"~"[^\333\222]")

it's a bug that only shows up in mawk-2. run it in gawk unicode mode or gawk byte mode, it's still a false.

or simply checking using hex decoding, one can split out 4 different invocation flags of gawk :

% gawk -n -e 'BEGIN { print +0xDEAD,+"0xCAFE" }'
57005 51966

% gawk -t -e 'BEGIN { print +0xDEAD,+"0xCAFE" }' (same for just -e)
57005 0

% gawk -P -e 'BEGIN { print +0xDEAD,+"0xCAFE" }'
0 51966

% gawk -c -e 'BEGIN { print +0xDEAD,+"0xCAFE" }'
0 0

Re: obfuscated AWK code challenge

<ddafc8b8-b062-496a-a7f2-3c8b1660dc26n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1010&group=comp.lang.awk#1010

  copy link   Newsgroups: comp.lang.awk
X-Received: by 2002:a05:6214:2aac:: with SMTP id js12mr2855771qvb.71.1642763071530;
Fri, 21 Jan 2022 03:04:31 -0800 (PST)
X-Received: by 2002:a25:2707:: with SMTP id n7mr5299205ybn.142.1642763071347;
Fri, 21 Jan 2022 03:04:31 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.awk
Date: Fri, 21 Jan 2022 03:04:31 -0800 (PST)
In-Reply-To: <bb81b959-2b16-4647-9b5e-a195a0de5f49n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:7000:3c3d:41c0:0:0:0:3c3;
posting-account=n74spgoAAAAZZyBGGjbj9G0N4Q659lEi
NNTP-Posting-Host: 2603:7000:3c3d:41c0:0:0:0:3c3
References: <db13b117-d555-4dab-885c-a3b706957cb3n@googlegroups.com>
<sqc2tq$jf6$1@dont-email.me> <6ce272af-9f47-4811-a68b-cb84200d7629n@googlegroups.com>
<38d8762a-a0b2-4f84-8f3f-3fd82e43fc0an@googlegroups.com> <ss3ht2$78q$1@dont-email.me>
<3a4696a7-c46e-4e8c-bcec-d08def6b78adn@googlegroups.com> <sscq2g$kbs$1@dont-email.me>
<d725eda8-1f55-4680-b4fd-9557e525dd83n@googlegroups.com> <bb81b959-2b16-4647-9b5e-a195a0de5f49n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ddafc8b8-b062-496a-a7f2-3c8b1660dc26n@googlegroups.com>
Subject: Re: obfuscated AWK code challenge
From: jason.cy.kwan@gmail.com (Kpop 2GM)
Injection-Date: Fri, 21 Jan 2022 11:04:31 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 16
 by: Kpop 2GM - Fri, 21 Jan 2022 11:04 UTC

i found you a great test case : it's a pair of hex that's horizontal mirrors of each other, and both are prime. As you can see here, the same syntax works across mawk-1, nawk, and gawk -n :

mawk '($!+_=$+_=($+_)(":")(+$+_))~_' CONVFMT=%.f <<< $'0x11111BBBBFFF\n0xFFFBBBB11111' | ecp

0x11111BBBBFFF:18765177405439
0xFFFBBBB11111:281456650817809

nawk '($!+_=$+_=($+_)(":")(+$+_))~_' CONVFMT=%.f <<< $'0x11111BBBBFFF\n0xFFFBBBB11111' | ecp

0x11111BBBBFFF:18765177405439
0xFFFBBBB11111:281456650817809

gawk -n '($!+_=$+_=($+_)(":")(+$+_))~_' CONVFMT=%.f <<< $'0x11111BBBBFFF\n0xFFFBBBB11111' | ecp

0x11111BBBBFFF:18765177405439
0xFFFBBBB11111:281456650817809

Re: obfuscated AWK code challenge

<a08200b2-2f9f-46e4-9fe6-9b7cfedbb6f5n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1011&group=comp.lang.awk#1011

  copy link   Newsgroups: comp.lang.awk
X-Received: by 2002:a05:6214:230d:: with SMTP id gc13mr2948093qvb.68.1642764210545;
Fri, 21 Jan 2022 03:23:30 -0800 (PST)
X-Received: by 2002:a25:6e8a:: with SMTP id j132mr4941170ybc.561.1642764210384;
Fri, 21 Jan 2022 03:23:30 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.awk
Date: Fri, 21 Jan 2022 03:23:30 -0800 (PST)
In-Reply-To: <ddafc8b8-b062-496a-a7f2-3c8b1660dc26n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:7000:3c3d:41c0:0:0:0:3c3;
posting-account=n74spgoAAAAZZyBGGjbj9G0N4Q659lEi
NNTP-Posting-Host: 2603:7000:3c3d:41c0:0:0:0:3c3
References: <db13b117-d555-4dab-885c-a3b706957cb3n@googlegroups.com>
<sqc2tq$jf6$1@dont-email.me> <6ce272af-9f47-4811-a68b-cb84200d7629n@googlegroups.com>
<38d8762a-a0b2-4f84-8f3f-3fd82e43fc0an@googlegroups.com> <ss3ht2$78q$1@dont-email.me>
<3a4696a7-c46e-4e8c-bcec-d08def6b78adn@googlegroups.com> <sscq2g$kbs$1@dont-email.me>
<d725eda8-1f55-4680-b4fd-9557e525dd83n@googlegroups.com> <bb81b959-2b16-4647-9b5e-a195a0de5f49n@googlegroups.com>
<ddafc8b8-b062-496a-a7f2-3c8b1660dc26n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a08200b2-2f9f-46e4-9fe6-9b7cfedbb6f5n@googlegroups.com>
Subject: Re: obfuscated AWK code challenge
From: jason.cy.kwan@gmail.com (Kpop 2GM)
Injection-Date: Fri, 21 Jan 2022 11:23:30 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 5
 by: Kpop 2GM - Fri, 21 Jan 2022 11:23 UTC

apparently even aligning decimals on the right hand side doesn't require a printf( ) statement :

mawk '_<($(_^_+!_)=+$+_)' CONVFMT=%20.f <<< $'0x0\n0x11111BBBBFFF\n0xFFFBBBB11111'

0x11111BBBBFFF 18765177405439
0xFFFBBBB11111 281456650817809

Re: obfuscated AWK code challenge

<0dc94b06-31d0-41d2-8815-37824057223bn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1012&group=comp.lang.awk#1012

  copy link   Newsgroups: comp.lang.awk
X-Received: by 2002:a37:dc85:: with SMTP id v127mr2307804qki.93.1642764484322;
Fri, 21 Jan 2022 03:28:04 -0800 (PST)
X-Received: by 2002:a25:ba8b:: with SMTP id s11mr5517351ybg.287.1642764484169;
Fri, 21 Jan 2022 03:28:04 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.awk
Date: Fri, 21 Jan 2022 03:28:03 -0800 (PST)
In-Reply-To: <ddafc8b8-b062-496a-a7f2-3c8b1660dc26n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:7000:3c3d:41c0:0:0:0:3c3;
posting-account=n74spgoAAAAZZyBGGjbj9G0N4Q659lEi
NNTP-Posting-Host: 2603:7000:3c3d:41c0:0:0:0:3c3
References: <db13b117-d555-4dab-885c-a3b706957cb3n@googlegroups.com>
<sqc2tq$jf6$1@dont-email.me> <6ce272af-9f47-4811-a68b-cb84200d7629n@googlegroups.com>
<38d8762a-a0b2-4f84-8f3f-3fd82e43fc0an@googlegroups.com> <ss3ht2$78q$1@dont-email.me>
<3a4696a7-c46e-4e8c-bcec-d08def6b78adn@googlegroups.com> <sscq2g$kbs$1@dont-email.me>
<d725eda8-1f55-4680-b4fd-9557e525dd83n@googlegroups.com> <bb81b959-2b16-4647-9b5e-a195a0de5f49n@googlegroups.com>
<ddafc8b8-b062-496a-a7f2-3c8b1660dc26n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0dc94b06-31d0-41d2-8815-37824057223bn@googlegroups.com>
Subject: Re: obfuscated AWK code challenge
From: jason.cy.kwan@gmail.com (Kpop 2GM)
Injection-Date: Fri, 21 Jan 2022 11:28:04 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 19
 by: Kpop 2GM - Fri, 21 Jan 2022 11:28 UTC

apparently even right-aligning of decimals doesn't require a printf( ) statement :

mawk '($(_^_+!_)=+$+_)^_' CONVFMT=%20.f <<< $'0x11111BBBBFFF\n0xFFFBBBB11111' | gtr ' ' '.'

0x11111BBBBFFF.......18765177405439
0xFFFBBBB11111……281456650817809

(it looks screwy here since default google font isn't fixed width)

or with built-in vertical separation :

mawk '($(_^_+!_)=+$+_)<"~"' CONVFMT=%.f OFS="\f" <<< $'0x11111BBBBFFF\n0xFFFBBBB11111'

0x11111BBBBFFF
18765177405439
0xFFFBBBB11111
281456650817809

Re: obfuscated AWK code challenge

<ssgkee$v62$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1013&group=comp.lang.awk#1013

  copy link   Newsgroups: comp.lang.awk
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: janis_papanagnou@hotmail.com (Janis Papanagnou)
Newsgroups: comp.lang.awk
Subject: Re: obfuscated AWK code challenge
Date: Sat, 22 Jan 2022 10:57:34 +0100
Organization: A noiseless patient Spider
Lines: 22
Message-ID: <ssgkee$v62$1@dont-email.me>
References: <db13b117-d555-4dab-885c-a3b706957cb3n@googlegroups.com>
<sqc2tq$jf6$1@dont-email.me>
<6ce272af-9f47-4811-a68b-cb84200d7629n@googlegroups.com>
<38d8762a-a0b2-4f84-8f3f-3fd82e43fc0an@googlegroups.com>
<20220117120345.25ab3c9a@gonzo> <ss3j36$tc3$1@dont-email.me>
<c5436dcc-ba30-4421-918e-ec02865dbc4bn@googlegroups.com>
<sscqt6$p80$1@dont-email.me>
<7b1cd203-181a-4ca3-a2ac-62633e83db04n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Sat, 22 Jan 2022 09:57:34 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="3f4d5abc5fe945d8ae1dfa98ae1d3342";
logging-data="31938"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19mJlMuXZFrVFBr27eejfJL"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:WWgCvk4h3T3Fc4EBJH6FIFp4qyM=
In-Reply-To: <7b1cd203-181a-4ca3-a2ac-62633e83db04n@googlegroups.com>
X-Enigmail-Draft-Status: N1110
 by: Janis Papanagnou - Sat, 22 Jan 2022 09:57 UTC

On 21.01.2022 07:03, Kpop 2GM wrote:
> try this one :
>
> echo '0xCAFEBEEFFEED' | gawk -n '($!_=+$_)~_'
> 223195473903341
>

Not for me...

$ echo '0xCAFEBEEFFEED' | gawk -n '($!_=+$_)~_'
0xCAFEBEEFFEED

BTW, I skip/skipped your many posts from the last two days; I find it
inconvenient to get fragmentary thoughts spread over many postings.
(Maybe I read them later or maybe not.)

But, for a change, I like your idea of an awk code challenge and will
open a new thread with another one.

Janis

Re: obfuscated AWK code challenge

<4578f9f1-1469-4f1b-813e-368cd19ec849n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1019&group=comp.lang.awk#1019

  copy link   Newsgroups: comp.lang.awk
X-Received: by 2002:a05:620a:1008:: with SMTP id z8mr1535071qkj.618.1642875908916;
Sat, 22 Jan 2022 10:25:08 -0800 (PST)
X-Received: by 2002:a5b:352:: with SMTP id q18mr13852508ybp.23.1642875908769;
Sat, 22 Jan 2022 10:25:08 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.awk
Date: Sat, 22 Jan 2022 10:25:08 -0800 (PST)
In-Reply-To: <ssgkee$v62$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:7000:3c3d:41c0:5567:7330:ffb2:1b50;
posting-account=n74spgoAAAAZZyBGGjbj9G0N4Q659lEi
NNTP-Posting-Host: 2603:7000:3c3d:41c0:5567:7330:ffb2:1b50
References: <db13b117-d555-4dab-885c-a3b706957cb3n@googlegroups.com>
<sqc2tq$jf6$1@dont-email.me> <6ce272af-9f47-4811-a68b-cb84200d7629n@googlegroups.com>
<38d8762a-a0b2-4f84-8f3f-3fd82e43fc0an@googlegroups.com> <20220117120345.25ab3c9a@gonzo>
<ss3j36$tc3$1@dont-email.me> <c5436dcc-ba30-4421-918e-ec02865dbc4bn@googlegroups.com>
<sscqt6$p80$1@dont-email.me> <7b1cd203-181a-4ca3-a2ac-62633e83db04n@googlegroups.com>
<ssgkee$v62$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <4578f9f1-1469-4f1b-813e-368cd19ec849n@googlegroups.com>
Subject: Re: obfuscated AWK code challenge
From: jason.cy.kwan@gmail.com (Kpop 2GM)
Injection-Date: Sat, 22 Jan 2022 18:25:08 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2769
 by: Kpop 2GM - Sat, 22 Jan 2022 18:25 UTC

this is what my gawk looks like with minor variations each time :

% echo '0xCAFEBEEFFEED' | gawk -n '$1=$0=$0'
0xCAFEBEEFFEED
(as expected)

% echo '0xCAFEBEEFFEED' | gawk -n '$1=$0'
0xCAFEBEEFFEED

% echo '0xCAFEBEEFFEED' | gawk -n '$1=$0=$0'
0xCAFEBEEFFEED

% echo '0xCAFEBEEFFEED' | gawk -n '$1=$0=+$0'
223195473903341

% echo '0xCAFEBEEFFEED' | gawk -P '$1=$0=+$0'
223195473903341

% echo '0xCAFEBEEFFEED' | gawk -P '$1=+$0'
223195473903341

% echo '0xCAFEBEEFFEED' | gawk -P '$1=+$1'
223195473903341

it's quite baffling to me why your gawk acts like that, seeing that on gnu.org, they list gawk 3.1 as first time it contains ability to interpret hex, which is quite some time ago. I got the exact same syntax working in gawk 5.1.1, mawk 1.3.4, and macos nawk to go from hex-to-decimal, so if you're still stuck I don't know what else I could suggest to workaround it other than doing it the old fashion verbose way of strtonum( ), e.g.

echo '0xCAFEBEEFFEED' | gawk -e '$!_=$_=strtonum($_)'
223195473903341

<<< '0xCAFEBEEFFEED' gawk -e '($!_=strtonum($_))^_'
223195473903341

Re: obfuscated AWK code challenge

<92c1a8d2-e68c-41f3-8757-68b1944ab6dan@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=1020&group=comp.lang.awk#1020

  copy link   Newsgroups: comp.lang.awk
X-Received: by 2002:ad4:4ee7:: with SMTP id dv7mr8722181qvb.48.1642876374816;
Sat, 22 Jan 2022 10:32:54 -0800 (PST)
X-Received: by 2002:a25:5f0f:: with SMTP id t15mr13345077ybb.338.1642876374671;
Sat, 22 Jan 2022 10:32:54 -0800 (PST)
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.awk
Date: Sat, 22 Jan 2022 10:32:54 -0800 (PST)
In-Reply-To: <ssgkee$v62$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2603:7000:3c3d:41c0:5567:7330:ffb2:1b50;
posting-account=n74spgoAAAAZZyBGGjbj9G0N4Q659lEi
NNTP-Posting-Host: 2603:7000:3c3d:41c0:5567:7330:ffb2:1b50
References: <db13b117-d555-4dab-885c-a3b706957cb3n@googlegroups.com>
<sqc2tq$jf6$1@dont-email.me> <6ce272af-9f47-4811-a68b-cb84200d7629n@googlegroups.com>
<38d8762a-a0b2-4f84-8f3f-3fd82e43fc0an@googlegroups.com> <20220117120345.25ab3c9a@gonzo>
<ss3j36$tc3$1@dont-email.me> <c5436dcc-ba30-4421-918e-ec02865dbc4bn@googlegroups.com>
<sscqt6$p80$1@dont-email.me> <7b1cd203-181a-4ca3-a2ac-62633e83db04n@googlegroups.com>
<ssgkee$v62$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <92c1a8d2-e68c-41f3-8757-68b1944ab6dan@googlegroups.com>
Subject: Re: obfuscated AWK code challenge
From: jason.cy.kwan@gmail.com (Kpop 2GM)
Injection-Date: Sat, 22 Jan 2022 18:32:54 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 9
 by: Kpop 2GM - Sat, 22 Jan 2022 18:32 UTC

> BTW, I skip/skipped your many posts from the last two days; I find it
> inconvenient to get fragmentary thoughts spread over many postings.
> (Maybe I read them later or maybe not.)

it's not that i enjoy fragmentation (maybe it's just a manifestation of my ADHD). this, being a good ole' newsgroup, means I couldn't go edit existing posts. the only other option being i copy-over full text of existing to a new post, plus the amendment(s), then deleting the old post (and repeating that cycle numerous times). I'll do it if that's your preference.

Pages:12
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor