scsh-users
[Top] [All Lists]

Fwd: how do I write "(a; b) >file" in scsh?

To: Scsh Users <scsh-users@scsh.net>
Subject: Fwd: how do I write "(a; b) >file" in scsh?
From: RT Happe <rthappe@web.de>
Date: Wed, 15 Feb 2006 00:34:29 +0100
List-id: <scsh-users.list-id.scsh.net>
Sender: rthappe@web.de
[ resend with the intended sender address ]

I wrote:

It does.  If you can stand a conditional sequence, you may go for this
also fairly ridiculous look: (&& (a) (epf (b) (> file))), e.g.

     (&& (sleep 5) (epf (ls) (> "foo.txt")))

.. which, however, loses the output of the first command (a). That could be captured with an excess of ridiculosity that I don't want to recommend,

      (&& (epf (ls) (> "foo.txt"))
          (epf (date) (>> "foo.txt")))

Probably I'm just experiencing pre-sleep dullness, or you may have to
build your own sequencing form.  (The process notation is not beyond
criticism.)


rthappe

<Prev in Thread] Current Thread [Next in Thread>