> less and more both worked, but you are right, it is zero length. But
> why should that prevent Java from reading it (in fact I see it that someon
> else has tried it and succeeded). After all, stdin is zero length before
> you put anything into it. As long as reading does not get and end-of-file
> you should be fine.
>

Right, but it only works with a FileReader, curiously enough.
This makes me  wonder on the implementation diffs between a FileReader and
FileInputStream.
Does anybody have a clue on that?

Dimitris

Reply via email to