You've changed your spec: in your original post, you said, "(t)he form will be viewed using a browser...."

Certainly it's possible to view a plain text file with a browser, by any one of several techniques, but IMO, if something is "viewed using a browser," it's a web page (or, to be a bit more precise, a page or constituent thereof). Further, within the context of "viewed in a browser," a form is, as noted above, a very specific html construct with a very specific purpose unrelated to what you didn't tell us until prodded by replies suggesting you clarify your intent.

Given your new spec, you may wish to know that Control-L (represented by caret-L in many circumstances) is the (nominally) "non-printing" ASCII and ANSI character for a "Form Feed" AKA "page eject, 0x0c, 12 decimal. Update: see http://www.robelle.com/smugbook/ascii.html/update

So the problem becomes "how can you remove each instance of 0x0c (and, I infer -- perhaps incorrectly -- the "Date Hour Requests UID" elements)?" (Your spec for "header" is a bit less than precise.) But either case is readily dealt with using a very basic script (which, at this stage, is left as an exercise for the student) or --indeed -- with a minimally competent text editor.

Suggestion: when you update a post, please tag it prominently -- for example, Update....blah, blah, blah /update. You do acknowledge your addition to the OP, but that acknowledgment is less than prominent.

<Update: You appear to have also changed your title, so it no longer matches the titles of the replies. That's also confusing, and the change is still less than clear; s/format\/write output/text/ would have been better. /update>


In reply to Re^5: Supressing page breaks in forms by ww
in thread Supressing page breaks in format/write output by yaconsult

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.