Joao Araujo wrote: > > I use some programs to produce a file, say text.txt with content > > This is > the > file. > > and I want to use GAP to manipulate it. In order to do that I open the > file and write You can use GAP for this: input := InputTextFile("foolala"); contents := ReadAll(input); CloseStream(input); Best regards, Yevgen