Re: Comments in TCL script

From: Wouter Prins <wp_at_null0.nl>
Date: Sat, 18 Dec 2010 20:23:30 +0100

Hi Nathan,

Put a # in front of the line you want it to ignore.

On 18 December 2010 19:28, Nathan Pease <pease.nathan_at_gmail.com> wrote:
> Does anyone know how to add comments in a TCL script? I would like to do
> something like the following, but my routers don't like it...
>
> foreach address {
> 187.1.17.1
> 187.1.134.1
> 150.1.1.1
> !Begin Router 2 ips
> 204.12.1.2
> 187.1.235.2
> 150.1.2.2
> !Begin Router 3 ips
> 187.1.3.3
> 187.1.38.3
> 187.1.134.3
> 187.1.235.3
> 150.1.3.3
> } { ping $address re 3 }
>
>
> Blogs and organic groups at http://www.ccie.net
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html
>
>
>
>
>
>
>
>

-- 
Wouter Prins
wp_at_null0.nl
Blogs and organic groups at http://www.ccie.net
Received on Sat Dec 18 2010 - 20:23:30 ART

This archive was generated by hypermail 2.2.0 : Sat Jan 01 2011 - 09:37:49 ART