Re: sed bug report - segmentation fault

[email protected] (Jose E. Marchesi) Mon, 20 Apr 2015 13:08:05 +0200
Newsgroups gmane.comp.gnu.utils.bugs
Message-ID <[email protected]>
        > I've found that sed gets a segfault when running the following command
        > on any text file with greater than one line.
        > sed -e 1L32768 test.txt
    
        The L command is documented as broken and to be removed in a future
        release.  It is not Posix.
    
    No GNU (or other, as far as that goes) program should crash, regardless.
    If the fix is to remove L, fine, but the bug should not be ignored.
    (I reproduced it just as reported, BTW.)

Agreed.  Removing L is probably the best option, as it has been
documented as broken and obsolescent for a while now.  Will push a patch
for that.