4 Einträge, 1 Seite |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
tsteinba Called-Station-Id = "5471,6786"
Fall-Through = Yes
thomaier Called-Station-Id = "5471,6786"
Fall-Through = Yes
# Projekt: PBL:
# Eintrag: 14.01.1999 Dauer: *
pkempa Called-Station-Id = "5471,6786"
Fall-Through = Yes
# Projekt: ??????????
# Eintrag: 27.03.2000 Dauer: ???????
johahn Called-Station-Id = "5471,6786"
Fall-Through = Yes
# Projekt: PBL:
# Eintrag: 22.03.1999 Dauer: *
kkluge Called-Station-Id = "5471,6786"
Fall-Through = Yes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/perl
use strict;
use warnings;
my $file = '/path/to/file.txt';
open(my $fh,"<",$file) or die $!;
while(my $line = <$fh>){
if($line =~ /Called-Station-Id/){
my $userid = (split(/\s+/,$line))[1];
print $userid;
}
}
close $fh;
4 Einträge, 1 Seite |