First time here? Check out the FAQ!
asked 2012-09-09 02:01:51 +0200riow
I'd like to use command line to remove first 5 lines of many doc automatically. Is there anyway to do it? Those doc are just converted using Libreoffice command line.
Thanks for any advice!
answered 2013-04-03 01:09:41 +0200oweng
It depends upon what you mean by "line". I presume, from the command line reference, you are using BSD/Linux/MacOS. You can create a script to unzip
content.xml, modify it, and put it back in the archive (ODT), but this would only be useful if by "line" you mean paragraph i.e., the first five
text:p elements. Otherwise a "line" is some partial structure from one or more of the initial paragraphs in your documents.
LibreOffice is made available by volunteers around the globe, backed by a charitable Foundation. Please support our efforts: Your donation helps us to deliver a better product!
Asked: 2012-09-09 02:01:51 +0200
Seen: 56 times
Last updated: Apr 03