SoptikHa2 / desed

Debugger for Sed: demystify and debug your sed scripts, from comfort of your terminal.
https://soptik.tech/articles/building-desed-the-sed-debugger.html
GNU General Public License v3.0
1.13k stars 24 forks source link

This supposed to be a joke?! #23

Closed jirutka closed 1 month ago

jirutka commented 2 years ago

Is this a joke? I thought it was. But apparently it's actually useful for some people.

Are you kidding me? :smile: This tool is super-useful!

I wish you’d written it a few years when I was hacking this insanity: dokuwiki2adoc (I used it to convert thousands of EDUX pages to Courses/AsciiDoc).

SoptikHa2 commented 2 years ago

Glad you like it :D

I still find it unbelievable that people actually write that huge sed scripts, instead to trying at least awk or something similar. But yeah, then someone comes and codes this.

Wonderful that you managed to fix it without proper tooling. GNU sed has a debug mode, but the interface was unusable for me :smile:

SoptikHa2 commented 2 years ago

(which reminds me, I should probably finally rewrite the parser to properly handle literal newlines in regex patterns. It sometimes confuses the whole parser :smile:)