GNU Info

Info Node: (sed.info)Limitations

(sed.info)Limitations


Next: Other Resources Prev: Examples Up: Top
Enter node , (file) or (file)node

About the (non-)limitations on line length
******************************************

   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).


automatically generated by info2www version 1.2.2.9