Deutsch   English   Français   Italiano  
<101iu31$2mr8t$2@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: Lawrence D'Oliveiro <ldo@nz.invalid>
Newsgroups: comp.os.vms
Subject: Re: Upcoming time boundary events
Date: Mon, 2 Jun 2025 01:17:21 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <101iu31$2mr8t$2@dont-email.me>
References: <100fp4v$1nmtf$1@dont-email.me> <100omli$3t023$1@dont-email.me>
	<100qdop$6q13$1@dont-email.me> <100qg5t$3jb0$1@dont-email.me>
	<1014ad8$2jurh$1@dont-email.me> <m9pqvoFnrcsU1@mid.individual.net>
	<874ix3np14.fsf@atr2.ath.cx> <m9sc6fFnrcsU2@mid.individual.net>
	<mn.f24a7e95dd606c32.104627@invalid.skynet.be>
	<101cbrq$gbr1$2@dont-email.me>
	<mn.fad87e9512caa697.104627@invalid.skynet.be>
	<101ffbn$1b0s5$1@dont-email.me> <101flk5$12l3d$1@dont-email.me>
	<683b5cee$0$684$14726298@news.sunsite.dk>
	<683ce1f4$0$693$14726298@news.sunsite.dk>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 02 Jun 2025 03:17:22 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="a67f84b66e6f22f56d2f18bad75708af";
	logging-data="2845981"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/hwWHUgZtPvo1+j2dueA11"
User-Agent: Pan/0.162 (Pokrosvk)
Cancel-Lock: sha1:9cLwq9vzRg8xmEU3N3V1IuTypIo=
Bytes: 2103

On Sun, 1 Jun 2025 19:27:48 -0400, Arne Vajhøj wrote:

> $ typ tst.com
> $ open/read/write f 0"myusername mypassword"::"task=add.com"
> $ write f "123"
> $ write f "456"
> $ read f res
> $ close f
> $ write sys$output res
> $ exit

I tried doing a bash equivalent to this, involving opening a remote 
connection and holding it open while feeding it numbers one at a time. But 
I couldn’t get that to work. Something about the syntax for dynamic 
redirections (and closing of dynamically-assigned FDs) that I don’t 
understand. Or that isn’t implemented properly.

But this does work:

    ldo@theon:~> echo 123 + 456 | ssh hypatia bc
    579