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

Re: implementing pre-commit-hook to prevent overwriting files under tags-dir

From: Andrey Repin <anrdaemon_at_freemail.ru>
Date: Sun, 27 Sep 2009 16:34:45 +0400

Greetings, Marc Lustig!

>> $ echo aaa/bbb/tags/version/xxx/yyy | sed -E "s|(tags/[^/]+).*$|\1|"
>> aaa/bbb/tags/version

> Looks lovely, but we use GNU sed Version 4.1.2 on Linux, and there is no -E
> option available :(
> Any other way to get this working?

Try "-r" instead of "-E". If not, look in `man sed` for options.
I've been hit by similar issue between cygwin and FreeBSD sed's.

Also, please don't top-post.

--
WBR,
 Andrey Repin (anrdaemon_at_freemail.ru) 27.09.2009, <16:26>
Sorry for my terrible english...
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2400896
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-09-27 14:36:01 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.