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

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

[GNU sed] bug report


From: Khanh-Dang
Subject: [GNU sed] bug report
Date: Sun, 26 Oct 2003 16:14:30 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20031006

Hi,

I have discovered a bug in GNU sed :
here is a shell session :

$ echo "':" | sed "s/\(.*\)\'://"
Segmentation fault
$ sed --version
GNU sed version 4.0.7
Copyright (C) 2003 Free Software Foundation, Inc.
[...]
$

I'm am working on a GNU/Linux system and sed was compiled with gcc 3.2.3 on a Gentoo distribution. The bug is also reproductible with GNU sed version 4.05, on a RedHat 9 system.

There is no bug when typing the same command but without the backslash before the char ':

$ echo "':" | sed "s/\(.*\)'://"

$


Please apologize for my bad english.


--
Khanh-Dang Nguyen Thu-Lam





reply via email to

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