Real-World Examples

Page 7-11

Real-World Examples

As noted on page 10-7, when you edit text files, you will normally use several of the Edit sub-

menu commands to produce the results you want. The following two examples, Real-World

Example 1 and Real-World Example 2, are actual multi-command procedures that you may

encounter as you work with your switch.

Real-World Example 1

cp mpx.cmd mpx.bak
rb mpx.cmd
lb
00: cmDoDump=1
01: cmInit
nb mpx.cmd
Work buffer name is: /flash/mpx.cmd
ab
02 :
02 : reg_port_rule=1
03 :
No line 3 inserted
lb
00: cmDoDump=1
01: cmInit
02: reg_port_rule=1
Work buffer name is: /flash/mpx.cmd
wb
/flash/mpx.cmd exists in /flash. Overwrite it? (y)
File system compaction in progress...
view mpx.cmd
cmDoDump=1
cmInit
reg_port_rule=1