scripts

misc scripts and tools
git clone git://git.2f30.org/scripts
Log | Files | Refs

commit 7964505399819207dbc915a68ac5d9cea3591fee
parent 2c3a219cd416fbbeebe84ea7e151451d24bc4375
Author: haris <haris@metal.lan>
Date:   Sat, 26 Oct 2013 18:34:10 +0300

fixed whitespace problem

Diffstat:
Mperley | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/perley b/perley @@ -39,8 +39,8 @@ my @mem = split(/ /, $memory); chomp (my $space = qx(df -h | grep \/\$)); my @space_stripped = split(/ /, $space); my @home_space = split(/ /, $space_stripped[4]); -$space_stripped[2] =~ s/^ //g; -$space_stripped[3] =~ s/^ //g; +$space_stripped[2] =~ s/\s//g; +$space_stripped[3] =~ s/\s//g; # We need: # cpu