Article View: net.bugs
Article #479Re: Fix to sed
From: Doug Gwyn <gwyn>
Date: Fri, 18 Oct 1985 01:52
Date: Fri, 18 Oct 1985 01:52
6 lines
847 bytes
847 bytes
> There is a bug in sed: when processing files which do not end with a newline > character, the last line is discarded. Many UNIX text-file utilities will discard a (necessarily final) text line that does not end in a newline. Quite simply, such a file is not a proper UNIX text file.
Technical Details
Message-ID:
<2235@brl-tgr.ARPA>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!brl-tgr!gwynReferences:
<23@pixel.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!think!harvard!seismo!brl-tgr!gwyn From: gwyn@brl-tgr.ARPA (Doug Gwyn <gwyn>) Newsgroups: net.bugs Subject: Re: Fix to sed Message-ID: <2235@brl-tgr.ARPA> Date: Thu, 17-Oct-85 21:52:28 EDT Article-I.D.: brl-tgr.2235 Posted: Thu Oct 17 21:52:28 1985 Date-Received: Sat, 19-Oct-85 07:23:21 EDT References: <23@pixel.UUCP> Organization: Ballistic Research Lab Lines: 6