Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jun 97 01:04:11 +0100
From:      Jean-Marc Zucconi <jmz@cabri.obs-besancon.fr>
To:        charnier@xp11.frmug.org
Cc:        hackers@freebsd.org
Subject:   Re: split -p pattern: new option
Message-ID:  <9706020004.AA27220@cabri.obs-besancon.fr>
In-Reply-To: <199706012057.WAA13926@xp11.frmug.org> (message from Philippe Charnier on Sun, 1 Jun 1997 22:57:21 %2B0200 (CEST))

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> Philippe Charnier writes:

 > Hi,
 > In order to split a big patch file into individual patches, I hacked a new
 > option for split(1) that can split if the current line matches the given
 > pattern.

 > % split -p '^diff -rc2N' big.patch x.

 > I think that it's an useful option and it maybe should be added. Comments?

I like this idea!

 > begin 644 patch.split.gz

'char    pattern[200];' is not used :)

Jean-Marc
 _____________________________________________________________________________
 Jean-Marc Zucconi       Observatoire de Besancon       F 25010 Besancon cedex
                   PGP Key: finger jmz@cabri.obs-besancon.fr
 =============================================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9706020004.AA27220>