aureliojargas / sedsed

Debugger and code formatter for sed scripts
https://aurelio.net/projects/sedsed/
GNU General Public License v3.0
115 stars 10 forks source link

Bug: empty block `{}` gets double `{{` #51

Closed aureliojargas closed 5 years ago

aureliojargas commented 5 years ago
$ echo | sedsed '5{}'
5 {
}
}
$

Fix and add to the test suite.

aureliojargas commented 5 years ago

Fixed by the new sedparse parser, see #52.

$ echo | ./sedsed.py '5{}'
5 {
}