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

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

Strange sed behavior


From: David Kastrup
Subject: Strange sed behavior
Date: Thu, 18 Oct 2007 14:47:10 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux)

Can anybody explain to me what is happening here?  I am a bit befuddled.

$ { echo 1;echo 2;}|sed 'H;${x;P;D;}'
1

2
1
1
2
2
1
2
2
1
2
2
2
1
1
2
2
2
2
2
1
1
2
2
1
2
2
2
2
2
2
1
1
2
2
2
1
1
2
2
1
1
sed: couldn't re-allocate memory
$ 

-- 
David Kastrup





reply via email to

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