Leser: 13
1
2
3
4
5
6
7
8
9
10
11
12
13
MIME-Version: 1.0
Content-Type: application/pdf
Content-Transfer-Encoding: base64
X-Lagos-Appl: GEF
X-Lagos-Doc: GEFTOP
X-Lagos-ID: 123456789012345
X-Lagos-Env: uiop
X-Lagos-Cust: 23344444444
X-Lagos-Version: 1.0
HGBERi0xLjIKJcfsj6IKNSAwIG9iago8PC9MZW5ndGggNiAwIFIvRmlsdGVyIC9GbGF0ZURlY29k
ZT4+CnN0cmVhbQp4nO2d3XLbNhaAfa2nwF3ZmZDBD3/3zkmURhvFSW067UVndtCYW9OSSEck1fHM
Pl6fYZ/Az7DXew4AyrQcx5LtxmQLtyFFEDgAznfwT4KfCfUYofifOX9ajD6PfoR/IqQkSjglC/Uz
perl -p -e 'undef $/; s/^.*?\x0a\x0a(.*)/\1/msg' base64file
1
2
3
4
MIME-Version: 1.0
HGBERi0xLjIKJcfsj6IKNSAwIG9iago8PC9MZW5ndGggNiAwIFIvRmlsdGVyIC9GbGF0ZURlY29k
ZT4+CnN0cmVhbQp4nO2d3XLbNhaAfa2nwF3ZmZDBD3/3zkmURhvFSW067UVndtCYW9OSSEck1fHM
Pl6fYZ/Az7DXew4AyrQcx5LtxmQLtyFFEDgAznfwT4KfCfUYofifOX9ajD6PfoR/IqQkSjglC/Uz
2009-04-30T14:27:24 leo11Code: (dl )perl -p -e 'undef $/; s/^.*?\x0a\x0a(.*)/\1/msg' base64file
perl -p -e 'BEGIN { undef $/ } ...
perl -p -e 'BEGIN { $/ = "\n\n" ;} if ( $. == 1 ) { s/.*//xmsg }' base64file
perl -ple's/.../.../;' file
1
2
3
4
5
6
7
8
BEGIN { $/ = undef; $\ = "\n"; }
LINE: while (defined($_ = <ARGV>)) {
chomp $_;
s/.../.../; # <----- hier dein code
}
continue {
print $_;
}