On Tue, Apr 9, 2013 at 1:03 PM, Martti Kühne <[email protected]> wrote:
> On Tue, Apr 9, 2013 at 12:37 PM, Maxime GAUDUIN <[email protected]> wrote: > > On Tue, Apr 9, 2013 at 12:12 PM, Martti Kühne <[email protected]> > wrote: > > > >> also it should not be sed -r but -n... damn, I knew I shouldn't be > >> writing this stuff from memory :) > >> > >> > > Your command returns an empty string.The output of 'bzr info' is several > > lines long, sed -n seems to fail with or without grep anyway. Did you try > > it on a distant repo? > > > > sure it's empty. another thing I had added to your sed line was a 'p' > (like print) right after the substitution. > > cheers! > mar77i > > Oh nice, sorry I didn't see that, thx for the tip! Cheers. -- Maxime
