Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.oberon > #348

Chaining output of command to be input of next command

X-Received by 10.157.80.39 with SMTP id a39mr692659oth.92.1493233780171; Wed, 26 Apr 2017 12:09:40 -0700 (PDT)
X-Received by 10.157.37.213 with SMTP id q79mr32045ota.11.1493233780134; Wed, 26 Apr 2017 12:09:40 -0700 (PDT)
Path csiph.com!feeder.erje.net!2.us.feeder.erje.net!news.glorb.com!c26no1714983itd.0!news-out.google.com!x200ni1988itb.0!nntp.google.com!c26no1714978itd.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.oberon
Date Wed, 26 Apr 2017 12:09:39 -0700 (PDT)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=70.209.202.28; posting-account=FW7yOwkAAADWhQ4rNUZV7LnaMBv5hdde
NNTP-Posting-Host 70.209.202.28
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <3fcffd08-e5de-47d6-b88b-4fec2eebf35d@googlegroups.com> (permalink)
Subject Chaining output of command to be input of next command
From carlglassberg@gmail.com
Injection-Date Wed, 26 Apr 2017 19:09:40 +0000
Content-Type text/plain; charset=UTF-8
Xref csiph.com comp.lang.oberon:348

Show key headers only | View raw


If I have a sequence of Oberon Commands, where the first receives its input from a marked text viewer, what is simplest way to chain the output of each Command to be the input of the next Command:

C0.a * C1.b C2.c ...
(Commands shown with no parameters)

Should this be rewritten so the previous command is the output filename parameter of the next command?

C0.a * C1.b <C0.a> C2.c <C1.b> ...

(Filename parameters shown with angle brackets, but the angle brackets are not really present, just here to differentiate parameter filename from previous Command of same name)

I don't want to explicitly mark a text viewer output so it is treated as input,
other than marking the input to the first Command.

I am assuming output text viewer gets named the same as the Command that opened it.

Back to comp.lang.oberon | Previous | NextNext in thread | Find similar


Thread

Chaining output of command to be input of next command carlglassberg@gmail.com - 2017-04-26 12:09 -0700
  Re: Chaining output of command to be input of next command carlglassberg@gmail.com - 2017-04-26 13:04 -0700
    Re: Chaining output of command to be input of next command UlrichEduard <noreplay@gmail.com> - 2021-08-21 16:12 +0200

csiph-web