| Newsgroups |
gmane.editors.sed.user |
| Message-ID |
<[email protected]> |
I agree, wow!
I got a headache trying to understand. It would help, for mere mortals,
to make an example, showing the result at each step. Just a suggestion.
For s/(.)(.);\d*\1(\d*);(\d*(\2\d*))/\3\5\4/ step, is this using nested
back-references? If yes, I never tried that before, do not see it
mentioned in the gnu sed manual either way (allowed or not).
I do see it in http://sed.sourceforge.net/sedfaq3.html which I was not
aware of before.
Thanks,
Daniel
On 11/27/2018 10:07 PM, Sven Guckes [email protected]
[sed-users] wrote:
> * Gilles Arcas [email protected] [2018-11-28 06:30]:
>> I have written a details analysis of the construction
>> and working of these snippets here
>> https://github.com/GillesArcas/numsed/blob/master/analysis/Adding_and_subtracting_digits_with_sed.md .
>
> wow :-)
>
>> The working can be illustrated with the following picture.
>> Two first columns illustrate two variants for addition,
>> two last are for subtraction. [addsub.jpg]
>
> sorry.. no attachments on this list.
> please add links to your messages.
>
> i suppose you were talking about this picture here?:
> https://github.com/GillesArcas/numsed/blob/master/analysis/addsub.jpg
>
> Sven
>
>
> ------------------------------------
> Posted by: Sven Guckes <[email protected]>
> ------------------------------------
>
------------------------------------
------------------------------------
--
------------------------------------
Yahoo Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/sed-users/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/sed-users/join
(Yahoo! ID required)
<*> To change settings via email:
[email protected]
[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo Groups is subject to:
https://info.yahoo.com/legal/us/yahoo/utos/terms/