• [meta] Why? (was Re: why does patsplit() exist?)

    From Janis Papanagnou@21:1/5 to All on Mon Sep 6 18:14:32 2021
    On 06.09.2021 17:44, Kpop 2GM wrote:

    mawk2 'BEGIN { sepFS="\301\372"; FS=RS="^$"; OFS=" :: "; } END { mypat="\352[\\200-\\277][\\200-\\277]|[\\353\\354][\\200-\\277][\\200-\\277]|\355[\\200-\\235][\\200-\\277]"; print gsub(mypat "|(" mypat ")( |"mypat")*("mypat")", sepFS "&" sepFS);
    gsub(sepFS "("sepFS")+", ""); print nx=split($0,arr, sepFS );for(x=1;x<=nx; x++) { print "\t" x ": /." arr[x] "./" ; }}'

    Even if the standard screen width in Korea is 370+ columns, is
    there any advantage writing all in one line, unformatted? Or
    is there a prize for doing that? Or are you assuming that this
    newsgroup is read solely by awk interpreter software (and not
    by humans)? - I wonder what folks are thinking when doing so.
    Or whether they are thinking at all. Or whether that is some
    regional mindset. Or a mental disease. Or a religious dogma.
    Or a statement of political or social protest. - Why the heck!

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)