![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.tcl archiveRe: (newbie) storing outputs from all lines of procs into a string
From: Bryan Oakley <oakley@bardo.clearlight.com>
Date: Wed Dec 21 2005 - 19:14:47 CET
just80n@gmail.com wrote:
The previous three statements could be replaced with this:
set COMMAND [string trim [join $args " "]]
> rename puts _puts
You want to change that append statement to:
append ::OUTPUT [join $args " "] "\n"
>...
The {}'s are coming from the renamed puts code. $args is a list; when
|