1 Star 1 Fork 7

连享会/nwcommands

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
netlist.sthlp 2.58 KB
一键复制 编辑 原始数据 按行查看 历史
ThomasGrund 提交于 2015-09-18 19:13 . v1.5.1
{smcl}
{* *! version 1.0.6 6sept2014 author: Thomas Grund}{...}
{marker topic}
{helpb nw_topical##concept:[NW-2.1] Concepts}
{marker description}{...}
{title:Description}
{pstd}
A {it:netlist} is a list of {help netname:network names}. It can also just hold the name of a single network.
A {it:netlist} exclusively refers to existing networks.
{pstd}
Examples include
{p 8 34 2}{cmd:mynet} {space 17} just one network{p_end}
{p 8 34 2}{cmd:mynet1 mynet2 mynet3} {space 2} three networks{p_end}
{p 8 34 2}{cmd:mynet*} {space 16} all networks starting with {cmd:mynet}{p_end}
{p 8 34 2}{cmd:*net} {space 18} all networks ending with {cmd:net}{p_end}
{p 8 34 2}{cmd:my*t} {space 18} all networks starting with {cmd:my} & ending
with {cmd:t} with any number of other characters
between{p_end}
{p 8 34 2}{cmd:my~net} {space 16} one network starting with {cmd:my} &
ending with {cmd:net} with any number of other characters
between{p_end}
{p 8 34 2}{cmd:my?var} {space 16} networks starting with {cmd:my} & endin
> g with
{cmd:net} with one other character between{p_end}
{p 8 34 2}{cmd:mynet1-mynet6} {space 9} {cmd:mynet1}, {cmd:mynet2}, ...,
{cmd:net6} (probably){p_end}
{p 8 34 2}{cmd:this-that} {space 13} networks {cmd:this} through {cmd:tha
> t},
inclusive{p_end}
{p 8 34 2}{cmd:_all} {space 18} all networks{p_end}
{pstd}
The {cmd:*} character indicates to match one or more characters. All
networks matching the pattern are returned.
{pstd}
The {cmd:~} character also indicates to match one or more characters, but
unlike {cmd:*}, only one network is allowed to match. If more than one
network matches, an error message is presented.
{pstd}
The {cmd:?} character matches one character. All networks matching
the pattern are returned.
{pstd}
The {cmd:-} character indicates that all networks in the dataset, startin
> g
with the network to the left of the {cmd:-} and ending with the network
> to
the right of the {cmd:-} are to be returned.
{pstd}
Many commands understand the keyword {cmd:_all} to mean all networks.
Some commands default to using all networks if none are specified.
{pstd}
The networks in the dataset can be reordered with {help nworder}.
{marker examples}{...}
{title:Examples}
{cmd:. nwuse glasgow}
{cmd:. nwset}
{pstd}The next four commands are all equivalent.
{cmd:. nwsummarize glasgow1 glasgow2 glasgow3}
{cmd:. nwsummarize glasgow1-glasgow3}{
{cmd:. nwsummarize glasg*}{
{cmd:. nwsummarize _all}{
{title:See also}
{help netname}, {help nwsummarize}, {help nworder}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/arlionn/nwcommands.git
git@gitee.com:arlionn/nwcommands.git
arlionn
nwcommands
nwcommands
master

搜索帮助