The classic ^L (control L, hex 12) is a form feed. When I cat a file with a form feed, I get a blank line. That's to say,<br><br> This is a test of a form feed.<br> ^LThat was it.<br><br>in vim produces<br><br> This is a test of a form feed.
<br><br> That was it.<br><br>when I cat the file. (Use ^V to insert a control character in vim.)<br><br>If you want to match for a literal ^L (caret, capital L), then I would escape the caret with \.<br><br><div><span class="gmail_quote">
On 7/12/06, <b class="gmail_sendername">Neil Watson</b> <<a href="mailto:tlug-neil-8agRmHhQ+n2CxnSzwYWP7Q@public.gmane.org">tlug-neil-8agRmHhQ+n2CxnSzwYWP7Q@public.gmane.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I have an undocumented script that performs egrep ^L</code>. From<br>what I can tell this is not a literal ^L. The ^L is only visible in VIM<br>not if I cat the file. It must be some sort of control character. What<br>
does it mean and how can I represent it in a less cryptic fashion?<br><br>--<br>Neil Watson | Gentoo Linux<br>System Administrator | Uptime 2 days<br><a href="http://watson-wilson.ca">http://watson-wilson.ca
</a> | <a href="http://2.6.16.19">2.6.16.19</a> AMD Athlon(tm) MP 2000+ x 2<br>--<br>The Toronto Linux Users Group. Meetings: <a href="http://tlug.ss.org">http://tlug.ss.org</a><br>TLUG requests: Linux topics, No HTML, wrap text below 80 columns
<br>How to UNSUBSCRIBE: <a href="http://tlug.ss.org/subscribe.shtml">http://tlug.ss.org/subscribe.shtml</a><br></blockquote></div><br><br clear="all"><br>-- <br>Alex Beamish<br>Toronto, Ontario<br>