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

Re: [bug] detect-merge-conflicts.sh reports false positive merge conflict markers

From: Alan Barrett <apb_at_cequrux.com>
Date: Wed, 20 Feb 2013 21:25:21 +0200

On Wed, 20 Feb 2013, Daniel Shahaf wrote:
>They seem to be invalid on BSD sed:
>% printf 'foo\nbar\nbaz\n' | sed -ne '/foo/,/baz/ { /bar/p }'
>sed: 1: "/foo/,/baz/ { /bar/p }
>": extra characters at the end of p command

The close brace must be on a new line. This works on NetBSD:

$ printf 'foo\nbar\nbaz\n' | sed -ne '/foo/,/baz/ { /bar/p
}'

--apb (Alan Barrett)
Received on 2013-02-20 20:25:58 CET

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

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