nwunab

Unabbreviate network list

Syntax

Expand and unabbreviate network lists
nwunab lmacname : netlist [,
        min(#) max(#)]

Description

This is the network version of unab. nwunab expands and unabbreviates a netlist of existing networks, placing the results in the local macro lmacname. nwunab is a low-level parsing command and works in exactly the same way as unab. One can also use nwds to unabbreviate network lists. The _nwsyntax command is a high-level parsing command that, among other things, also unabbreviates network lists; see _nwsyntax.

Options

  • min(#) specifies the minimum number of networks
  • allowed. The default is hi:min(1).

  • max(#) specifies the maximum number of networks
  • allowed. The system maximum is 9999.

Examples

. nwwebuse glasgow, nwclear
. nwunab nets : glasg*
. di `nets'
glasgow1 glasgow2 glasgow3

Supported network types

Binary: yes. Directed: yes. Weighted: yes. Signed: yes. Two-mode: yes - resolves/expands a network name list only; does not read or depend on any network’s own directed/valued/two-mode status or tie values.

See also

  • unab, nwds, _nwsyntax

nwcommands version 3.17.6, 9 November 2026 (check your installed version)


Back to top

nwcommands is free software under the GNU General Public License, version 3, as are the model packages nwsaom, nwergm, nwdynam and nwrem. Citing and licenses · Get help · GitHub. Issues with the core go to the nwcommands repository; issues with a model package go to that package's own repository.

This site uses Just the Docs, a documentation theme for Jekyll.