GNU bug report logs -
#36202
Add example of how to write the two addresses
Previous Next
Reported by: Dan Jacobson <jidanni <at> jidanni.org>
Date: Thu, 13 Jun 2019 23:54:02 UTC
Severity: wishlist
Done: Assaf Gordon <assafgordon <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
On 6/13/19 6:33 AM, Dan Jacobson wrote:
> (info "(sed) Other Commands") says many times
>
> As a GNU extension, this command accepts two addresses.
>
> You need to give an example of how to write the two addresses!
>
> You invent an extension, so only you know how to use it. One cannot look
> the usage up elsewhere.
info "(sed) Addresses overview" says:
An address range is specified with two addresses separated by a comma
(','). Addresses can be numeric, regular expressions, or a mix of both.
The extension is not how to write two addresses (since POSIX already
requires several commands such as 's' to do so), but that GNU sed
extends the set of commands that take two addresses (where POSIX only
requires the command to take 1).
I think the information you are requesting is already present in the
manual, so it is now a judgment call on whether it can be improved; are
you volunteering to write a patch?
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org
[signature.asc (application/pgp-signature, attachment)]
This bug report was last modified 6 years and 27 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.