Dear Wolfgang,
Many thanks for your explanations.
I believe the reasons is this: An URL can be any address involving "http",
"ftp", local files and possibly other schemes. Often the contents at such an URL can be
READ, but not WRITTEN. E.g. we can read from a WWW address but we cannot write to it.
Therefore it makes sense to use URLs for reading and filenames for writing.
In light of this, maybe Mozart should be changed to allow "stdin" as a valid
URL.
I should have known that! My brains are getting old :-))
So for now, it suffices to add in the functor File a function that reads
from stdin (something like {ReadListStdin ?L}).
It's a patch but I think it's the best (and maybe the only thing) I can
do so far.
Cheers
Robert
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users