DJ Lucas wrote:
Hi guys and gals.  Anyone got an idea for a quick script to split up a
regular LFS style (-Naur) diff file?  Ideally, just dump each to it's
own numbered file...trying to save time on OOo-1.1.5.

Hmm, for some reason 'quilt' (http://savannah.nongnu.org/projects/quilt) comes to mind, though I think that's more of a multiple patch management tool. You might be able to get away with a shell script that grep's for the first 'diff -Naur' line, grep's for the second 'diff -Naur' line, then 'split's the file on those line numbers. Repeat until done!

Regards,

Matt.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-chat
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to