commit | 8132ad2f4ec9b463ed954a302e9e490b549b106a | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Thu Oct 29 01:30:58 2015 -0500 |
committer | Rob Landley <rob@landley.net> | Thu Oct 29 01:30:58 2015 -0500 |
tree | 66f7647b93f7245c8ad9f4dc03d298a4444f45d6 | |
parent | da646636382e5830650e725592d10cec587081f7 [diff] |
Fix sed bug reported by Isabella Parakiss, where sed -e "/x/c\" -e "y" added an extra newline because the test for whether we have an existing string to append a newline to was checking if struct step had data appended to it, and the /x/ regex is data appended to it. Change test to check for null terminator at ->arg1 offset.