Dave Walker writes:
> There is no standard way to get a file re-directed to be treated as a
> command line in c68.
Thank you. That explains why I cant do what I was trying to do. Ill have to
find another way.
<>
> The main reason that this is not done is simply because there is no agreed
> syntax that specifies the parameters for a command line are coming from a
> file. It would be relatively trivial to enhance the C68 start-up code to
> implement such a feature given an agreement on the syntax for recognising
> the command line re-direction to a file for parameters. The idea sounds
> like a good one, so if anyone has suggestions on a proposed syntax I am
> happy to consider them for inclusion into the standard c68 build. Is
there
> any standard for this in the Posix/Unix world as I have not come across
such
> a feature? What about other OS?
EX cprog, #stdin, #stdout; '<cmd' - ?
or
EX cprog, '<stdin 1>stdout 2>stderr 3<cmd'
Argv[] would then parse whatever came in thru cmd as if it where its command
line.
Thanks to all for the help ;)
Per