8 Einträge, 1 Seite |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/perl
use strict;
use warnings;
my ($o, $c) = 0, 0;
while(<>) {
/\{/ and $o++;
/\}/ and $c++;
}
print 'opening curled brackets: ' . $o . "\n";
print 'closing curled brackets: ' . $c . "\n";
Vorläufig entfernt: siehe unten.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
HASH: [logical-routers]
HASH: [m10_0_as1]
HASH: [Interfaces]
HASH: [ge-0/1/0]
HASH: [unit 50]
WERT: key: [vlan-id] value: [50]
HASH: [family inet]
HASH: [address 218.1.xx.xxx/xx]
HASH: [vrrp-group 50]
WERT: key: [virtual-address] value: [218.x.95.xxx]
WERT: key: [priority] value: [200]
WERT: key: [preempt]
WERT: key: [accept-data]
HASH: [unit 51]
WERT: key: [vlan-id] value: [51]
HASH: [family inet]
HASH: [address 172.xx.xx.82/xx]
HASH: [vrrp-group 51]
WERT: key: [virtual-address] value: [172.16.xx.xx1]
WERT: key: [priority] value: [200]
WERT: key: [preempt]
WERT: key: [accept-data]
HASH: [ge-1/1/0]
HASH: [unit 11]
WERT: key: [vlan-id] value: [11]
HASH: [family inet]
WERT: key: [address] value: [1xx.xx.xxx.6/xx]
HASH: [m10_0_vr1]
HASH: [interfaces]
HASH: [ge-1/0/0]
HASH: [unit 201]
WERT: key: [vlan-id] value: [201]
HASH: [family inet]
HASH: [filter]
WERT: key: [output] value: [fil-1/0/0.201]
HASH: [address 1x2.xx.88.2/aa]
HASH: [vrrp-group 201]
WERT: key: [virtual-address] value: [1xx.1x.xx.1]
WERT: key: [priority] value: [200]
WERT: key: [preempt]
HASH: [unit 240]
WERT: key: [vlan-id] value: [240]
HASH: [family inet]
HASH: [address xx8.1.x7.xx/xx]
HASH: [vrrp-group 240]
WERT: key: [virtual-address] value: [218.x.7x.xx]
WERT: key: [preempt]
WERT: key: [accept-data]
HASH: [ge-1/1/0]
HASH: [unit 11]
WERT: key: [vlan-id] value: [11]
HASH: [family inet]
WERT: key: [address] value: [1xx.xx.xxx.6/xx]
8 Einträge, 1 Seite |