Updated 2013-03-09 16:30:16 by pooryorick

A Tcl extension that provides a set of commands which perform operations on namespace names.

Directions to find it at Stu

There's also a network simulator called "ns".

Man page:
 NAME
       ns - Namespace Supplement

 SYNOPSIS
       package require Tcl

       package require ns 0.2
       namespace import ::ns::*

       nsTidy  namespaceName

       nsJoin  namespaceName ?args?

       nsJc    ?args?

       nsRoot

 DESCRIPTION
       A Tcl extension that provides a set of commands which per-
       form operations on namespace names.

 COMMANDS
       nsTidy "Tidy" a namespace name.  Ensure that any namespace
              name separator chars are exactly two colons.
              [nsTidy a:::b] -> a::b
              [nsTidy :::a:::b::::] -> ::a::b::

       nsJoin Combine  arguments  with  namespace  name to form a
              new, tidied namespace name.
              [nsJoin a:::b c d] -> a::b::c::d

       nsJc   "Joincurrent"  -  combine  arguments  with  current
              namespace  name  to  form  a  new, tidied namespace
              name. A convenience function.  A  shorthand  method
              for:
              [nsJoin [namespace current] ?args...?]

       nsRoot Return  the  root  namespace  {::}.  A silly conve-
              nience function.