~ubuntu-branches/ubuntu/lucid/logwatch/lucid-201002122348

« back to all changes in this revision

Viewing changes to scripts/logfiles/samba/removeheaders

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2008-07-05 11:49:54 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20080705114954-9naedpe6wrk3k7xt
Tags: 7.3.6.cvs20080702-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Use postfix rather than exim4.
  - Update maintainers according to spec.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
##########################################################################
3
 
# $Id: removeheaders,v 1.7 2005/02/24 17:08:04 kirk Exp $
 
3
# $Id: removeheaders,v 1.8 2008/03/24 23:31:26 kirk Exp $
4
4
##########################################################################
5
5
 
6
6
########################################################
11
11
#    etc, to kirk@kaybee.org.
12
12
########################################################
13
13
 
 
14
########################################################
 
15
## Copyright (c) 2008 Kirk Bauer
 
16
## Covered under the included MIT/X-Consortium License:
 
17
##    http://www.opensource.org/licenses/mit-license.php
 
18
## All modifications and contributions by other persons to
 
19
## this script are assumed to have been donated to the
 
20
## Logwatch project and thus assume the above copyright
 
21
## and licensing terms.  If you want to make contributions
 
22
## under your own copyright or a different license this
 
23
## must be explicitly stated in the contribution an the
 
24
## Logwatch project reserves the right to not accept such
 
25
## contributions.  If you have made significant
 
26
## contributions to this script and want to claim
 
27
## copyright please contact logwatch-devel@logwatch.org.
 
28
#########################################################
 
29
 
14
30
while (defined($ThisLine = <STDIN>)) {
15
31
    $ThisLine =~ s/^..\/..\/.. ..:..:.. //;
16
32
    $ThisLine =~ s/^\[....\/..\/.. ..:..:...+?\]\s*//;