2005-09-23T04:08:45 DJ Lucas: > 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.
csplit oughta do the deed handily.
Just tried, yup,
csplit bash-3.0-fixes-3.patch '/^diff -Naur/' '{*}'
tore 'em apart, with the header in xx00 and the rest in xx01, xx02,
xx03, etc.
-Bennett
pgpSh2kD1OHCI.pgp
Description: PGP signature
-- http://linuxfromscratch.org/mailman/listinfo/lfs-chat FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
