https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=177018

--- Comment #21 from Mikhail T. <[email protected]> ---
Max, you were right -- there IS a limit on the size of a single command in sed.
It is the _POSIX2_LINE_MAX, found in <limits.h>.

The compile_stream() function in src/usr.bin/sed/compile.c maintains a buffer
of that size...

My latest patch, which breaks the command into multiple -e arguments, should
work around this limitation. I guess, gsed either has no limit at all, or its
limit is higher, than ours...

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
kde-freebsd mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to