|
From: | Bruce Korb |
Subject: | Re: Confusing/unclear documentation of Sed back references |
Date: | Wed, 26 Nov 2014 15:15:47 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 |
On 11/26/14 11:40, Eric Blake wrote:
On 11/26/2014 12:29 PM, Bob Proulx wrote:The invocation section documents the -r option. https://www.gnu.org/software/sed/manual/sed.html#Invoking-sed -r --regexp-extended Use extended regular expressions rather than basic regular expressions. Extended regexps are those that egrep accepts; they can be clearer because they usually have less backslashes, but are a GNU extension and hence scripts that use them are not portable. See [Extended regular expressions].
Can we fix the grammar too, please? i.e. "have *fewer* backslashes" Thank you :)
[Prev in Thread] | Current Thread | [Next in Thread] |