From: Oleg Broytman Date: Tue, 5 Aug 2014 19:47:54 +0000 (+0400) Subject: Minor refactoring X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=368b4f3c978a2ae7b6821e7a0dc3511c7b94668e;p=git-scripts.git Minor refactoring --- diff --git a/locate-all b/locate-all index a7837d2..fb9d0d5 100755 --- a/locate-all +++ b/locate-all @@ -1,3 +1,3 @@ #! /bin/sh -(locate -b \\.git && locate -b *.git) | sort | uniq | - sed 's!/\.git$!!' >locate-all.list +(locate -b \\.git && locate -b \*.git) | sed 's!/\.git$!!' | + sort | uniq >locate-all.list