How to treat puts <value> as pure text - not a command
- From: "steve" <steven.stone4@xxxxxxxxxxxxxxx>
- Date: 31 Mar 2006 04:49:37 -0800
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' ?
Regards
Steve
.
- Follow-Ups:
- Re: How to treat puts <value> as pure text - not a command
- From: Uwe Klein
- Re: How to treat puts <value> as pure text - not a command
- Prev by Date: Re: tcl and windows authentication...
- Next by Date: ANNOUNCE: TIP#262 Published
- Previous by thread: newbe q.: How to read windows path names from a file ?
- Next by thread: Re: How to treat puts <value> as pure text - not a command
- Index(es):
Relevant Pages
|