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

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

sed 3.02 and the `r' command


From: Werner LEMBERG
Subject: sed 3.02 and the `r' command
Date: Thu, 27 Sep 2001 17:03:21 +0200 (CEST)

[This is for sed 3.02 -- maybe this has been fixed meanwhile.]

The `N' command triggers the output of a file read in by `r'.
Why doesn't `D' do this also?  According to sed.info, `r' does

     Queue the contents of FILENAME to be read and inserted into the
     output stream at the end of the current cycle, or when the next
     input line is read.  Note that if FILENAME cannot be read, it is
     treated as if it were an empty file, without any error
     indication.

`D' ends the current cycle, doesn't it?  If this isn't a bug, I
suggest rewording the description of the `r' command to explain the
difference.


    Werner



reply via email to

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