Re: [Vala] Gio and stdin

2011-06-12 Thread Christian Siefkes
Hi Luca, On 06/11/2011 10:46 PM, Luca Bruno wrote: > On Sat, Jun 11, 2011 at 08:57:10PM +0200, Christian Siefkes wrote: >> I use Gio to read files line by line, as in the example at >> https://live.gnome.org/Vala/GIOSamples#Reading_Text_File_Line_by_Line . >> I would like to support the frequent U

Re: [Vala] Gio and stdin

2011-06-11 Thread Luca Bruno
On Sat, Jun 11, 2011 at 08:57:10PM +0200, Christian Siefkes wrote: > Hi all, > > I use Gio to read files line by line, as in the example at > https://live.gnome.org/Vala/GIOSamples#Reading_Text_File_Line_by_Line . > I would like to support the frequent Unix convention that '-' as filename > means

[Vala] Gio and stdin

2011-06-11 Thread Christian Siefkes
Hi all, I use Gio to read files line by line, as in the example at https://live.gnome.org/Vala/GIOSamples#Reading_Text_File_Line_by_Line . I would like to support the frequent Unix convention that '-' as filename means "read from standard", but I didn't find a way to convert a FileStream (stdin) t