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

--- Comment #22 from Max Brazhnikov <[email protected]> ---
(In reply to Mikhail T. from comment #21)
> 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...

ok, feel free to commit the patch.

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