Article View: comp.os.linux.misc
Article #1010Re: Back To CS Basics. Fuck AI
From: Janis Papanagnou
Date: Sat, 17 Oct 2026 21:29
Date: Sat, 17 Oct 2026 21:29
42 lines
2924 bytes
2924 bytes
On 2026-10-17 22:47, Lawrence D’Oliveiro wrote:
> On 17 Oct 2026 08:40:24 GMT, Stéphane CARPENTIER wrote:
>
>> Now, there are almost no more interpreted scripts.
>
> Shell scripts are still interpreted. Not only that, but the shell
> actually seeks through the source file to do a transfer of control.
>
> How do I know this? Try making changes to the script while it is
> running. ;)
I've just done this ("a script change while it's running") [*]
(with ksh and bash) and there was no change in behavior of the
running script.
You may want to provide an example what you've actually done
to come to that conclusion (or reformulate your conclusion).
BTW; I've in other (more complex?) contexts observed that some
intrusions (tackling the shell program while it runs) do affect
the running script, but back then I haven't examined the reason
or circumstances of that effect, or whether it's some effect of
an interaction with the OS. - So the principle question, what
exactly happens in what circumstances, is still interesting.
Janis
[*] What I've done was to run the following script "dynchg.sh"
while read ; do
echo $REPLY
done
and change it (from another terminal) while it runs by
sed -i '2p' dynchg.sh
I could even remove that file from the directory and it still
processes data as expected. And there's also no difference if
that program is explicitly run with the interpreter or running
it using a shebang interpreter as executable script.
Technical Details
Message-ID:
<11b0pbe$3pvda$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-mailReferences:
<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>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: Sat, 17 Oct 2026 23:29:18 +0200 Organization: A noiseless patient Spider Lines: 42 Message-ID: <11b0pbe$3pvda$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> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Sat, 17 Oct 2026 21:29:20 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3997098"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Gd5pq63afYy/mTV3DL1Px"; posting-host="260a9fd6479032e5e4be87bbb3c186b4" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:cV8Egd6VXfmRwrFW04t2IJNhUJE= sha256:HpJcMzE8+FyHq5cbI9MC3eVdHrU36niVJ2ujSUO6q0Y= sha1:zFhk8hX1A12OQ87EkkHUrGDpn3A= sha256:7UndaMwgP9SUwdFlmdfXKOVjv+oasD4CNf3sXH+9B4A= In-Reply-To: <11b0ms8$iems$8@dont-email.me> Content-Language: en-US