#! /bin/sh
-(locate -b \\.git && locate -b \*.git) | sed 's!/\.git$!!' |
- sort | uniq >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