🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by root Thu, 29 Oct 1992 10:40
sed 1.11 bug
#24
Author: root
Date: Thu, 29 Oct 1992 10:40
19 lines
915 bytes
  Sed's 'D' command doesn't work if the pattern space comprises a single line
of '\n'-terminated text.  The following patch seems to fix the problem.

     -Chris Weber <weber@bucknell.edu>


*** sed.c.orig	Thu Oct 29 15:13:26 1992
--- sed.c	Thu Oct 29 15:16:00 1992
***************
*** 1189,1194 ****
--- 1189,1195 ----
  				    line.length=newlength;
  				    goto restart;
  				  }
+ 				line.length=0;
  				end_cycle++;
  			}
  			break;
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads