From: "Peña, Botp" Date: 2007-07-25T19:03:14+09:00 Subject: Re: Formatting text. From: Marcin Tyman [mailto:m.tyman@interia.pl] # OK, Fine. But... I want to format the string not its output # to redirect the string to a file on remote machine (the file # should be formatted). the simple way is just do the output on screen (in a format you want). then if you're happy with the output, just redirect it to a file. like eg, ruby mytestprogram.rb > myfile just try it. kind regards -botp