/[scripts]/trunk/dwm-status.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/dwm-status.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 36 by dpavlin, Sun May 27 15:30:12 2007 UTC revision 37 by dpavlin, Sun May 27 19:31:52 2007 UTC
# Line 108  while ( 1 ) { Line 108  while ( 1 ) {
108    
109          foreach ( split(/\n/, $net) ) {          foreach ( split(/\n/, $net) ) {
110                  s/^\s+//;                  s/^\s+//;
111                    s/:\s+/:/;
112                  my @n = split(/\s+/, $_, 17);                  my @n = split(/\s+/, $_, 17);
113                  next unless ( $n[0] =~ s!(eth\d|ath\d):!! );                  next unless ( $n[0] =~ s!(eth\d|ath\d):!! );
114    

Legend:
Removed from v.36  
changed lines
  Added in v.37

  ViewVC Help
Powered by ViewVC 1.1.26