]> dxcluster.org Git - spider.git/commitdiff
fix blank spaces
authorminima <minima>
Thu, 17 Oct 2002 03:06:16 +0000 (03:06 +0000)
committerminima <minima>
Thu, 17 Oct 2002 03:06:16 +0000 (03:06 +0000)
perl/DXCommandmode.pm

index 42b2efbb8ca93ea2234a32618a3afefd2d8e4343..9e9a708e367bd66baf4c6e0a87a6b9d46264d6a5 100644 (file)
@@ -470,7 +470,7 @@ sub run_cmd
                        return ();
                }
        }
-       return map {s/[^\s]\s+$//; $_} @ans;
+       return map {s/([^\s])\s+$/$1/; $_} @ans;
 }
 
 #