Re: How to treat puts <value> as pure text - not a command



steve wrote:
Hi,
I'm reading from a file, line by line, using 'gets $infile in_line',

then depending on the contents of the line, it may get processed before
being written to a file or wriiten out as 'raw' info - using 'puts
$outfile $in_line'

I'm hitting problems with the contents of the line, when I try to write
it out to file, if it contains '{' or '}' the script complains - I
suspect it is reading it has a special character, rather than pure text
- just something to write out to file.

How do I get puts to treat every thing as 'pure text' ?

Hi Steve,

You should have no problems at all!

Are you using [eval] at some point?

post your script here for further comments?

uwe
.



Relevant Pages

  • Re: is God one or three?
    ... On Sat, 10 Nov 2007 14:39:16 GMT, AZ Nomad ... but this "holy ghost" thing sounds like pure BS. ... Actually, from what I remember reading, it was stuck on just because ...
    (alt.home.repair)
  • Re: OT Linus and the anti-Wal-Mart POV
    ... It is pure ... speculation. ... the price goes down after she buys it, ... But no one with functional intelligence would have responded without reading ...
    (rec.outdoors.rv-travel)
  • Re: Converting BASM to Pascal
    ... >>Anyone have any ideas on how to convert the following code into pure ... > If I'm reading that correctly, ... > Unless you can constrain the domain of m, ...
    (borland.public.delphi.language.basm)
  • How to treat puts as pure text - not a command
    ... I'm reading from a file, line by line, using 'gets $infile in_line', ... then depending on the contents of the line, ... How do I get puts to treat every thing as 'pure text'? ...
    (comp.lang.tcl)