formatted output to a file



Hello,
  I have data which maxima prints to the screen as


################################
    1.0
   [- .3536439110236552, - .3536429110236552]
   [5.244819758319341, 5.244820758319341]
   [.3388525556295289, .3388535556295289]
   [- .2551126228235315, - .2551116228235316]
   1.0
    3.0
################################
    2.0
   [- .3507737403750187, - .3507727403750187]
   [12.72043322786446, 12.72043422786446]
   [0.341129429715034, .3411304297150339]
   [- .2525642918546189, - 0.252563291854619]
   - 1.0
   2.0
################################
    3.0
   [- .008600354488860871, - .008599354488860872]
   [19.43942526930742, 19.43942626930742]
   [.6239518437557894, .6239528437557894]
   [.1752413689703154, .1752423689703154]
   1.0
   1.0
################################
    4.0
   [- .03415417134425412, - .03415317134425412]
   [24.83439957477726, 24.83440057477726]
   [.6020426756826011, .6020436756826011]
   [.1342058306134519, .1342068306134519]
   - 1.0
   4.0



I would like to output this to a file so that it keeps the same
format.  How do I do it?

I would like to do it both interactively from the maxima console and
as output from a batch file.

TIA,
  sen


-- 
  ---------------------------------------------------------------------------
  | Sheldon E. Newhouse            |    e-mail: sen1 at math.msu.edu           |
  | Mathematics Department         |       				   |
  | Michigan State University      | telephone: 517-355-9684                |
  | E. Lansing, MI 48824-1027 USA  |       FAX: 517-432-1562                |
  ---------------------------------------------------------------------------