Closed aureliojargas closed 4 years ago
Currently, numeric and $ are also saving lastaddr. They shouldn't.
$
lastaddr
$ python sedsed.py --token -e '999x;s///' linenr:1 addr1:999 addr1flag: addr2: addr2flag: lastaddr: modifier: id:x content: delimiter: pattern: replace: flag: comment: linenr:1 addr1: addr1flag: addr2: addr2flag: lastaddr:999 modifier: id:s content: delimiter:/ pattern: replace: flag: comment: $ python sedsed.py --token -e '$x;s///' linenr:1 addr1:$ addr1flag: addr2: addr2flag: lastaddr: modifier: id:x content: delimiter: pattern: replace: flag: comment: linenr:1 addr1: addr1flag: addr2: addr2flag: lastaddr:$ modifier: id:s content: delimiter:/ pattern: replace: flag: comment:
Note how lastaddr was incorrectly set to 999 and $ in the examples.
999
Currently, numeric and
$
are also savinglastaddr
. They shouldn't.Note how
lastaddr
was incorrectly set to999
and$
in the examples.