38 lines
1.4 KiB
HTML
38 lines
1.4 KiB
HTML
<HTML>
|
|
<HEAD>
|
|
<!-- This HTML file has been created by texi2html 1.54
|
|
from ../texi/sed.texi on 28 October 1999 -->
|
|
|
|
<TITLE>sed, a stream editor - About the (non-)limitations on line length</TITLE>
|
|
<link href="sed_6.html" rel=Next>
|
|
<link href="sed_4.html" rel=Previous>
|
|
<link href="sed_toc.html" rel=ToC>
|
|
|
|
</HEAD>
|
|
<BODY>
|
|
<p>Go to the <A HREF="sed_1.html">first</A>, <A HREF="sed_4.html">previous</A>, <A HREF="sed_6.html">next</A>, <A HREF="sed_9.html">last</A> section, <A HREF="sed_toc.html">table of contents</A>.
|
|
<P><HR><P>
|
|
|
|
|
|
<H1><A NAME="SEC11" HREF="sed_toc.html#TOC11">About the (non-)limitations on line length</A></H1>
|
|
|
|
<P>
|
|
<A NAME="IDX131"></A>
|
|
<A NAME="IDX132"></A>
|
|
For those who want to write portable SED scripts,
|
|
be aware that some implementations have been known to
|
|
limit line lengths (for the pattern and hold spaces)
|
|
to be no more than 4000 bytes.
|
|
The POSIX.2 standard specifies that conforming SED
|
|
implementations shall support at least 8192 byte line lengths.
|
|
GNU SED has no built-in limit on line length;
|
|
as long as SED can malloc() more (virtual) memory,
|
|
it will allow lines as long as you care to feed it
|
|
(or construct within it).
|
|
|
|
</P>
|
|
<P><HR><P>
|
|
<p>Go to the <A HREF="sed_1.html">first</A>, <A HREF="sed_4.html">previous</A>, <A HREF="sed_6.html">next</A>, <A HREF="sed_9.html">last</A> section, <A HREF="sed_toc.html">table of contents</A>.
|
|
</BODY>
|
|
</HTML>
|