wishlist: show line numbers in annotate output

Andrew Bennetts andrew at canonical.com
Wed Feb 28 23:54:46 GMT 2007


Matthieu Moy wrote:
> Alexander Belchenko <bialix at ukr.net> writes:
> 
> > I'd like to propose new flag for annotate command: --show-line-numbers
> > or --line-numbers. With this flag annotate output should include
> > number for each line. Per example, standard output without line
> > numbers:
> 
> That's not far (but not quite the same) as
> 
> $ bzr annotate | cat -n

Or "bzr annotate | nl"

Regardless, I think it's probably worth adding.  Not all systems (i.e. Windows)
have cat or nl installed.

-Andrew.




More information about the bazaar mailing list