Re: how do I write "(a; b) >file" in scsh?
RT Happe <[email protected]> Wed, 15 Feb 2006 00:13:51 +0100
| Newsgroups | gmane.lisp.scheme.scsh |
|---|---|
| Message-ID | <[email protected]> |
Wolfgang Hukriede wrote:
> how do I write "(a; b) >file" in scsh?
>
> I came up with (run (begin (run (a)) (run (b))) (> file))
> but this looks a bit ridiculous, right?
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")))
rthappe