[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-ed] 2 typos in ed documentation
From: |
Alexander Jones |
Subject: |
Re: [Bug-ed] 2 typos in ed documentation |
Date: |
Thu, 24 Jan 2019 19:36:00 -0600 |
On Thursday, January 24, 2019 4:56:37 PM CST Rusty Shackleford wrote:
> From 'info Ed', section 'Commands', detailing '(.,.)s':
> "The 'r' suffix causes the regular expression of the last search to be used
> instead of *the that* of the last substitution."
>
> Same section, detailing '(1,$)w FILE':
> "Any previous contents of FILE *is* lost without warning." (should be are)
>
> $ ed --version
> GNU Ed 1.10
The first error has been corrected as of ed 1.15 (the current version). The
description for the 'r' suffix now reads, "The 'r' suffix causes the RE of the
last search to be used instead of the RE of the last substitution (if the
search happened after the substitution)." However, the second typo (in '(1,$)w
FILE') is still present in version 1.15.