Projet

Général

Profil

Révision 17f78427

ID17f784270ae966ee9a13e9f5104a5b8f925b639e
Parent ef851f0c
Enfant d4320aea, 5b2396a9

Ajouté par Lars Kruse il y a plus de 7 ans

Whitespace cleanup

  • remove trailing whitespace
  • remove empty lines at the end of files

Voir les différences:

plugins/darwin/dar_uptime
1
#!/usr/bin/perl 
1
#!/usr/bin/perl
2 2
# -*- perl -*-
3 3

  
4 4
=head1 NAME
......
69 69
    }
70 70
}
71 71

  
72
@uptime = `/usr/bin/uptime`; 
72
@uptime = `/usr/bin/uptime`;
73 73
foreach(@uptime) {
74 74
	$_ =~ m/^.+up (.+?), \d+ us.+$/;
75
	$timestr = $1; 
75
	$timestr = $1;
76 76
	if ( $timestr =~ m/^(\d+) day.+?$/ ) {
77 77
		$days = $1;
78 78
	} else { $days = 0; }

Formats disponibles : Unified diff