#! /bin/sh
-(locate -b \\.git && locate -b *.git) | sort | uniq |
- sed 's!/\.git$!!' >locate-all.list
+locate -b \*.git | sed 's!/\.git$!!' |
+ grep -v "/archive/SQLObject/\|/archive/cheetah3/\|/third-party/\|$HOME/tmp/" |
+ LC_ALL=C sort | uniq > locate-all.list