🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Paul Eggert Wed, 14 Oct 1992 02:43
grep 1.6 mishandles incomplete lines
#910
Author: Paul Eggert
Date: Wed, 14 Oct 1992 02:43
11 lines
811 bytes
grep 1.6 mishandles files that end in a non-newline character:
it silently pretends there was a trailing newline.  The following
shell scenario illustrates the problem.  `cat' and traditional `grep'
output the incomplete line as-is; but GNU grep outputs a newline at the end.

$ echo -n x >x
$ cat x
x$ grep x x # GNU grep
x
$ /bin/grep x x # traditional grep
x$ 
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