🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.misc
Article #1507

Re: Back To CS Basics. Fuck AI

#1507
From: Janis Papanagnou
Date: Mon, 26 Oct 2026 05:41
33 lines
2932 bytes
On 2026-10-26 04:59, c186282 wrote:
> On 10/24/26 07:06, Nuno Silva wrote:
>> On 2026-10-24, c186282 wrote:
>>
>>>    KSH and BASH are "mostly compatible". Minor diffs but
>>>    nothing hard to get around. Anything you can do in KSH
>>>    can be done in BASH.
>>
>> Now that sounds like something Greg Sullivan of Microsoft would say.
> 
>    You "can do" most anything in COBOL or FORTRAN or 'C'
>    in ANY other lang - just as anything in one shell script
>    you can do in any other. The issue is 'how easily' - and
>    that depends on your particular application.

(Be careful; if your argument goes in the direction of "language A
is Turing-complete so you can use it simulating language B, which
makes it effectively the same", then that statement would be of no
practical value!)

I want to give you an example code from a little shell tool I wrote:

   function LINES.set { .kosta.rows=${.sh.value} ; .kosta.update ;}

(What this does is that whenever the environment variable 'LINES'
changes - e.g. if you pick your mouse and resize the X-window - then
that function gets triggered and the actions defined executed.)

I'd be interested how you'd implement or emulate that, say, in Bash.

Janis

> [...]
Technical Details
Message-ID: <11bmp6i$36mvl$2@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <18dee4b6cab427fa$865$2574533$802601b3@news.usenetexpress.com> <POycnb0WPpTmPEz3nZ2dnZfqn_ednZ2d@giganews.com> <87ik32455m.fsf@solcaium.us> <6ad33478$0$28048$426a74cc@news.free.fr> <11b0ms8$iems$8@dont-email.me> <11b0pbe$3pvda$2@dont-email.me> <83se20c7ao.fsf@helmutwaitzmann.news.arcor.de> <11bg381$1bjd2$1@dont-email.me> <RH-dnS_Dp6SSsEH3nZ2dnZfqnPednZ2d@giganews.com> <11bi3f0$2kv20$1@dont-email.me> <YqednVkC15mDTUP3nZ2dnZfqn_YAAAAA@giganews.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Janis Papanagnou <janis_papanagnou+ng@hotmail.com>
Newsgroups: comp.os.linux.misc,comp.unix.shell
Subject: Re: Back To CS Basics. Fuck AI
Date: Mon, 26 Oct 2026 06:41:38 +0100
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <11bmp6i$36mvl$2@dont-email.me>
References: <18dee4b6cab427fa$865$2574533$802601b3@news.usenetexpress.com>
 <POycnb0WPpTmPEz3nZ2dnZfqn_ednZ2d@giganews.com> <87ik32455m.fsf@solcaium.us>
 <6ad33478$0$28048$426a74cc@news.free.fr> <11b0ms8$iems$8@dont-email.me>
 <11b0pbe$3pvda$2@dont-email.me>
 <83se20c7ao.fsf@helmutwaitzmann.news.arcor.de>
 <11bg381$1bjd2$1@dont-email.me>
 <RH-dnS_Dp6SSsEH3nZ2dnZfqnPednZ2d@giganews.com>
 <11bi3f0$2kv20$1@dont-email.me>
 <YqednVkC15mDTUP3nZ2dnZfqn_YAAAAA@giganews.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 26 Oct 2026 05:41:39 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3365877"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+Tw+QdW0DEnduzOHRSa4DF"; posting-host="19d1ea9e7f795db0e508001a96a33a1f"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:0UWW4NW6lgMVM2r4VePVcZsmFKk= sha256:/JQG/L6+6EVDtcu9fX4KBn0HLMkmPhG3ppW6DYzq5cQ=
	sha1:a9luxHeGwiD6YS49xMGM4uJ680E= sha256:2wOLueTUnGWMu0iibyZlf4tE+tv7Yhbjb1MweW8fRfI=
Content-Language: en-US
In-Reply-To: <YqednVkC15mDTUP3nZ2dnZfqn_YAAAAA@giganews.com>