pbmp

A command of the separate bcma command line; see Commands for other chip families.

Convert a port list string into a port bitmap.

pbmp <port_list>

Built-in help

The port list string may contain commas to separate port numbers and
hyphens to indicate ranges of ports.
The output port bitmap will also be saved in the local environment
variable "$0", which can be useful for scripting.

Built-in examples

1,5,9,12-16