On Tue, Jan 6, 2009 at 5:26 PM, Tom Ayerst <tom.aye...@gmail.com> wrote:

> Hi,
>
> How do I read and print a text file?  I can read it, its the printing that
> is the problem, I feel it should be obvious but I keep tripping myself up.
> (The context is I need to extract data line by line, translate the line
> format and save it for a legacy app)
>


Well, if you just want to print to standard out you could use print or
println. Apparently there's also with-out-file which I'm assuming
temporarily binds *out* so all output goes to a file. That might be the
simplest way to do what you need.

-- 
Cosmin Stejerean
http://offbytwo.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to