[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Searching Properties

From: Daniel Berlin <dberlin_at_dberlin.org>
Date: 2002-09-04 05:53:16 CEST

On Wed, 4 Sep 2002, Benjamin Pflugmann wrote:

> Hello.
>
> Replying more to the original mail...
>
> On Tue 2002-09-03 at 18:18:25 +0200, Alexis Huxley wrote:
> > > svn pl -vR
> > >
> > > Of course the only problem now is that the verbose output of 'svn
> > > proplist' isn't very friendly for piping through grep. If I were to
> > > pipe through "grep 'color : green'", I'd see the matching lines, but
> > > have no idea which items the matching properties were attached to.
> > > That's because proplist outputs pairs of lines:
> > >
> > > Properties on 'INSTALL':
> > > svn:keywords : LastChangedDate
> > > Properties on 'gen-make.py':
> > > svn:executable : on
> > > Properties on 'packages/freebsd/subversion':
> > > svn:ignore : work
> > >
> > > Hmmmmmmmmmm.
> >
> > If you like in a GNU universe, then pipe the result of
> > the svn command through
> >
> > sed ':b;/:$/{;N;s/:\n[ ]*//;bb;}'
>
> Always being confused by sed commands except "s///" (have to look this
> up afterwards)
Seriously.
If his message had stopped there, could anyone actually tell whether
that was a real sed command, or memory corruption causing his mailer
to send the message like that?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 4 05:53:40 2002

This is an archived mail posted to the Subversion Dev mailing list.