What we did at UBZ
Matthew Hannigan
mlh at zip.com.au
Fri Nov 18 05:36:51 GMT 2005
On Fri, Nov 18, 2005 at 03:40:26PM +1100, Michael Ellerman wrote:
> I realise we've decided that .bzr should become _,+=HERE_BE_DRAGONS=+,_, but I
> thought I'd just mention another reason why I like . files.
>
> They're not matched by * in my shell.
>
> Which means:
>
> # grep -R "foo" *
>
> does what you want. ie. it doesn't grep your revision history.
Yeah, agreed, that is one reason to choose hidden files.
Matching non _ is moderately easy in the standard shell:
du -sh [^_]*
ls -d [^_]*
grep -R foo [^_]*
But still not for newbs/casual/non-unix users.
Matt
More information about the bazaar
mailing list