bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sed bug report - segmentation fault


From: Jim Meyering
Subject: Re: sed bug report - segmentation fault
Date: Mon, 20 Apr 2015 09:37:38 -0700

On Mon, Apr 20, 2015 at 4:08 AM, Jose E. Marchesi <address@hidden> wrote:
>
>         > 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.

Thanks, Jose.
Note that it is already gone in git. Here's the blurb from NEWS:

** Feature removal

  The "L" command (format a paragraph like the fmt(1) command would)
  has been listed in the documentation as a failed experiment for at
  least 10 years.  That command is now removed.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]