scsh-users
[Top] [All Lists]

Write a list on a file

To: "edesigau@clio.unice.fr" <edesigau@clio.unice.fr>
Subject: Write a list on a file
From: "Jin S. Choi" <jsc@atype.com>
Date: Tue, 13 May 1997 14:06:20 -0400
Cc: scsh-news@martigny.ai.mit.edu
Reply-to: jsc@atype.com
>>>>> "ed" == edesigau@clio unice fr <edesigau@clio.unice.fr> writes:

    ed> hi all, i have a little probleme : i want to write a list on a file but
    ed> that's don't work. I can read a file but not write on this : 
    ed> This is a copy of my transcript

    20> (define tutu (open-output-file "/u/deugmi2/edesigau/bot/user2"))
    20> tutu
    ed> '#{Extensible-output-port}
    20> (list? users)
    ed> #t
    20> users
    ed> '("edesigau@*.unice.fr")
    20> (write users tutu)
    ed> #f

    ed> and the file is empty ...

    ed> So if you can help me .. thanx a lot

You have to (close tutu) to flush out the buffer.

<Prev in Thread] Current Thread [Next in Thread>