From: Allyn Dimock <firstname.lastname@example.org>
Cc: "Brian D. Carlstrom" <email@example.com>, "Olin
"Allyn Dimock" <firstname.lastname@example.org>
Subject: in scsh: can you connect a string port to a
Date: 13 Jan 2000 17:16:08 -0500
The following message is a courtesy copy of an article
that has been posted as well.
In scsh: can you connect a string port to a process?
I am looking to feed a computed string (a C-shell
script) to a
process, and was trying to see if I could get away
writing it to a file.
(= 0 ,input-as-port)
(= 2 1)))))
Error: Not a file descriptor or fdport.
Writing out to a file and (run (/bin/csh)
(< ,tmpfile)) works [of course].
Is there a way in scsh to feed text directly to the
stdin of another