Sujet : Re: Upcoming time boundary events
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.os.vmsDate : 02. Jun 2025, 02:17:21
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <101iu31$2mr8t$2@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
User-Agent : Pan/0.162 (Pokrosvk)
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