From 368b4f3c978a2ae7b6821e7a0dc3511c7b94668e Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 5 Aug 2014 23:47:54 +0400 Subject: [PATCH] Minor refactoring --- locate-all | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5