Hans Leidekker a écrit :
> $ for year in {2002..2008}; do \
> count=$( git log | grep ^Date: | grep $year | wc -l ); \
> echo "Number of commits in $year: $count"; \
> done
> Number of commits in 2002: 3094
> Number of commits in 2003: 3283
> Number of commits in 2004: 3851
> Number of commit
Hans Leidekker wrote:
> $ for year in {2002..2008}; do \
> count=$( git log | grep ^Date: | grep $year | wc -l ); \
> echo "Number of commits in $year: $count"; \
> done
> Number of commits in 2002: 3094
> Number of commits in 2003: 3283
> Number of commits in 2004: 3851
> Number of commits i
$ for year in {2002..2008}; do \
count=$( git log | grep ^Date: | grep $year | wc -l ); \
echo "Number of commits in $year: $count"; \
done
Number of commits in 2002: 3094
Number of commits in 2003: 3283
Number of commits in 2004: 3851
Number of commits in 2005: 6006
Number of commits in 200
Hans Leidekker wrote:
> $ for y in {2002..2007}; do \
> n=$( git log | grep ^Date: | grep $y | wc -l ); \
> echo "Number of commits in $y: $n"; \
> done
> Number of commits in 2002: 3094
> Number of commits in 2003: 3283
> Number of commits in 2004: 3851
> Number of commits in 2005: 6006
> Nu
On Tuesday 01 January 2008 21:25:02 Clarence Risher wrote:
> Because I like to nitpick, does your 2007 count include any commits to
> your local tree that arent actually submitted/accepted?
>
> On Jan 1, 2008 7:37 AM, Hans Leidekker <[EMAIL PROTECTED]> wrote:
> >
> > $ for y in {2002..2007}; do \
$ for y in {2002..2007}; do \
n=$( git log | grep ^Date: | grep $y | wc -l ); \
echo "Number of commits in $y: $n"; \
done
Number of commits in 2002: 3094
Number of commits in 2003: 3283
Number of commits in 2004: 3851
Number of commits in 2005: 6006
Number of commits in 2006: 8431
Number of