We have an old accounting system that runs on a Unix host (circa 1980 or so). Some of the print-outs start with a form feed character, and some don't. This form-feed character is causing some significant issues with our document management software, as the DMS can't decipher what kind of document it is - since the first page of the document is always blank!
I've been able to get SED to replace all instances of a character in a document, but that's a bit too broad... and my eyes are starting to go buggy from reading man pages.
So my question is: How can I use SED to strip out the first instance of a form-feed character (0x0c)?
Thanks in advance!
I've been able to get SED to replace all instances of a character in a document, but that's a bit too broad... and my eyes are starting to go buggy from reading man pages.
So my question is: How can I use SED to strip out the first instance of a form-feed character (0x0c)?
Thanks in advance!